public class OpenEJBDeploymentManager
extends java.lang.Object
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
OpenEJBDeploymentManager.DeploymentStatusImpl  | 
class  | 
OpenEJBDeploymentManager.ProgressObjectImpl  | 
static class  | 
OpenEJBDeploymentManager.TargetImpl  | 
static class  | 
OpenEJBDeploymentManager.TargetModuleIDImpl  | 
| Modifier and Type | Field and Description | 
|---|---|
static DConfigBeanVersionType | 
DEFAULT_DCONFIG_BEAN_VERSION  | 
static java.lang.String | 
DEFAULT_TARGET_NAME  | 
| Constructor and Description | 
|---|
OpenEJBDeploymentManager()  | 
OpenEJBDeploymentManager(Deployment deployment)  | 
| Modifier and Type | Method and Description | 
|---|---|
DeploymentConfiguration | 
createConfiguration(DeployableObject deployableObject)  | 
ProgressObject | 
distribute(Target[] targetList,
          java.io.File moduleArchive,
          java.io.File deploymentPlan)  | 
ProgressObject | 
distribute(Target[] targetList,
          java.io.InputStream moduleArchive,
          java.io.InputStream deploymentPlan)  | 
TargetModuleID[] | 
getAvailableModules(ModuleType moduleType,
                   Target[] targetList)  | 
java.util.Locale | 
getCurrentLocale()  | 
DConfigBeanVersionType | 
getDConfigBeanVersion()  | 
java.util.Locale | 
getDefaultLocale()  | 
TargetModuleID[] | 
getNonRunningModules(ModuleType moduleType,
                    Target[] targetList)  | 
TargetModuleID[] | 
getRunningModules(ModuleType moduleType,
                 Target[] targetList)  | 
java.util.Locale[] | 
getSupportedLocales()  | 
Target[] | 
getTargets()  | 
boolean | 
isDConfigBeanVersionSupported(DConfigBeanVersionType version)  | 
boolean | 
isLocaleSupported(java.util.Locale locale)  | 
boolean | 
isRedeploySupported()  | 
static DConfigBeanVersionType | 
parseDConfigBeanVersionType(java.lang.String string)  | 
ProgressObject | 
redeploy(TargetModuleID[] moduleIDList,
        java.io.File moduleArchive,
        java.io.File deploymentPlan)  | 
ProgressObject | 
redeploy(TargetModuleID[] moduleIDList,
        java.io.InputStream moduleArchive,
        java.io.InputStream deploymentPlan)  | 
void | 
release()  | 
void | 
setDConfigBeanVersion(DConfigBeanVersionType version)  | 
void | 
setLocale(java.util.Locale locale)  | 
ProgressObject | 
start(TargetModuleID[] moduleIdList)  | 
ProgressObject | 
stop(TargetModuleID[] moduleIdList)  | 
ProgressObject | 
undeploy(TargetModuleID[] moduleIdList)  | 
public static final DConfigBeanVersionType DEFAULT_DCONFIG_BEAN_VERSION
public static final java.lang.String DEFAULT_TARGET_NAME
public OpenEJBDeploymentManager()
public OpenEJBDeploymentManager(Deployment deployment) throws DeploymentManagerCreationException
DeploymentManagerCreationExceptionpublic void release()
public Target[] getTargets()
public TargetModuleID[] getAvailableModules(ModuleType moduleType,
                                            Target[] targetList)
                                     throws TargetException
TargetExceptionpublic TargetModuleID[] getNonRunningModules(ModuleType moduleType,
                                             Target[] targetList)
                                      throws TargetException
TargetExceptionpublic TargetModuleID[] getRunningModules(ModuleType moduleType,
                                          Target[] targetList)
                                   throws TargetException
TargetExceptionpublic ProgressObject distribute(Target[] targetList,
                                 java.io.File moduleArchive,
                                 java.io.File deploymentPlan)
public ProgressObject distribute(Target[] targetList,
                                 java.io.InputStream moduleArchive,
                                 java.io.InputStream deploymentPlan)
public ProgressObject start(TargetModuleID[] moduleIdList)
public ProgressObject stop(TargetModuleID[] moduleIdList)
public ProgressObject undeploy(TargetModuleID[] moduleIdList)
public boolean isRedeploySupported()
public ProgressObject redeploy(TargetModuleID[] moduleIDList,
                               java.io.File moduleArchive,
                               java.io.File deploymentPlan)
public ProgressObject redeploy(TargetModuleID[] moduleIDList,
                               java.io.InputStream moduleArchive,
                               java.io.InputStream deploymentPlan)
public java.util.Locale[] getSupportedLocales()
public java.util.Locale getCurrentLocale()
public java.util.Locale getDefaultLocale()
public boolean isLocaleSupported(java.util.Locale locale)
public void setLocale(java.util.Locale locale)
public DConfigBeanVersionType getDConfigBeanVersion()
public boolean isDConfigBeanVersionSupported(DConfigBeanVersionType version)
public void setDConfigBeanVersion(DConfigBeanVersionType version)
                           throws DConfigBeanVersionUnsupportedException
DConfigBeanVersionUnsupportedExceptionpublic DeploymentConfiguration createConfiguration(DeployableObject deployableObject)
                                            throws InvalidModuleException
InvalidModuleExceptionpublic static DConfigBeanVersionType parseDConfigBeanVersionType(java.lang.String string)
                                                          throws DeploymentManagerCreationException
DeploymentManagerCreationException