| javax.enterprise.deploy.spi.DeploymentManager
DeploymentManager | public interface DeploymentManager (Code) | | The DeploymentManager object provides the core set of functions a J2EE platform must provide for J2EE application deployment.
It provides server related information, such as, a list of deployment targets, and vendor unique runtime configuration
information.
author: Adrian Brock version: $Revision: 57196 $ |
Method Summary | |
DeploymentConfiguration | createConfiguration(DeployableObject obj) | ProgressObject | distribute(Target[] targets, File moduleArchive, File deploymentPlan) | ProgressObject | distribute(Target[] targets, InputStream moduleArchive, InputStream deploymentPlan) | TargetModuleID[] | getAvailableModules(ModuleType moduleType, Target[] targets) | Locale | getCurrentLocale() | DConfigBeanVersionType | getDConfigBeanVersion() | Locale | getDefaultLocale() | TargetModuleID[] | getNonRunningModules(ModuleType moduleType, Target[] targets) | TargetModuleID[] | getRunningModules(ModuleType moduleType, Target[] targets) | Locale[] | getSupportedLocales() | Target[] | getTargets() | boolean | isDConfigBeanVersionSupported(DConfigBeanVersionType version) | boolean | isLocaleSupported(Locale locale) | boolean | isRedeploySupported() | ProgressObject | redeploy(TargetModuleID[] moduleIDList, File moduleArchive, File deploymentPlan) | ProgressObject | redeploy(TargetModuleID[] moduleIDList, InputStream moduleArchive, InputStream deploymentPlan) | void | release() | void | setDConfigBeanVersion(DConfigBeanVersionType version) | void | setLocale(Locale locale) | ProgressObject | start(TargetModuleID[] moduleIDList) | ProgressObject | stop(TargetModuleID[] moduleIDList) | ProgressObject | undeploy(TargetModuleID[] moduleIDList) |
distribute | ProgressObject distribute(Target[] targets, File moduleArchive, File deploymentPlan) throws IllegalStateException(Code) | | Validates the configuration, generates all container specific classes and moves the archive
to the targets
Parameters: targets - the targets Parameters: moduleArchive - the module archive Parameters: deploymentPlan - the runtime configuration the progress object throws: IllegalStateException - when the manager is disconnected |
distribute | ProgressObject distribute(Target[] targets, InputStream moduleArchive, InputStream deploymentPlan) throws IllegalStateException(Code) | | Validates the configuration, generates all container specific classes and moves the archive
to the targets
Parameters: targets - the targets Parameters: moduleArchive - the module archive Parameters: deploymentPlan - the runtime configuration the progress object throws: IllegalStateException - when the manager is disconnected |
getCurrentLocale | Locale getCurrentLocale()(Code) | | Get the current local
the current locale |
getDefaultLocale | Locale getDefaultLocale()(Code) | | Get the default locale
the default locale |
getSupportedLocales | Locale[] getSupportedLocales()(Code) | | Get the supported locales
the supported locales |
isDConfigBeanVersionSupported | boolean isDConfigBeanVersionSupported(DConfigBeanVersionType version)(Code) | | Test whether the version is supported
Parameters: version - the version true when supported, false otherwise |
isLocaleSupported | boolean isLocaleSupported(Locale locale)(Code) | | Is the locale supported
Parameters: locale - the locale true when supported, false otherwise |
isRedeploySupported | boolean isRedeploySupported()(Code) | | Is redeploy supported
true when redeploy is supported, false otherwise |
release | void release()(Code) | | Release the deployment manager
|
|
|