|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DeploymentManager
| Method Summary | |
|---|---|
ProgressObject |
distribute(Target[] targetList,
Archive moduleArchive,
Archive deploymentPlan,
java.lang.Object deploymentOptions)
The distribute method performs three tasks; it validates the deployment configuration data, generates all container specific classes and interfaces, and moves the fully baked archive to the designated deployment targets. |
WritableArchive |
getArchive(java.net.URI path,
java.lang.String name)
Creates a new instance of WritableArchive which can be used to store application elements in a layout that can be directly used by the application server. |
| Methods inherited from interface javax.enterprise.deploy.spi.DeploymentManager |
|---|
createConfiguration, distribute, distribute, distribute, getAvailableModules, getCurrentLocale, getDConfigBeanVersion, getDefaultLocale, getNonRunningModules, getRunningModules, getSupportedLocales, getTargets, isDConfigBeanVersionSupported, isLocaleSupported, isRedeploySupported, redeploy, redeploy, release, setDConfigBeanVersion, setLocale, start, stop, undeploy |
| Method Detail |
|---|
ProgressObject distribute(Target[] targetList,
Archive moduleArchive,
Archive deploymentPlan,
java.lang.Object deploymentOptions)
throws java.lang.IllegalStateException
targetList - A list of server targets the user is specifying
this application be deployed to.moduleArchive - The abstraction for the application
archive to be disrtibuted.deploymentPlan - The archive containing the deployment
configuration information associated with
this application archive.deploymentOptions - is a JavaBeans compliant component
containing all deployment options for this deployable
unit. This object must be created using the
BeanInfo instance returned by
DeploymentConfiguration.getDeploymentOptions
java.lang.IllegalStateException - is thrown when the method is
called when running in disconnected mode.
WritableArchive getArchive(java.net.URI path,
java.lang.String name)
throws java.io.IOException
path - the directory in which to create this archive if local
storage is a possibility.name - is the desired name for the archive
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||