public interface DeploymentManager
extends javax.enterprise.deploy.spi.DeploymentManager
Modifier and Type | Method and Description |
---|---|
javax.enterprise.deploy.spi.status.ProgressObject |
distribute(javax.enterprise.deploy.spi.Target[] targetList,
Archive moduleArchive,
Archive deploymentPlan,
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(URI path,
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.
|
createConfiguration, distribute, distribute, distribute, getAvailableModules, getCurrentLocale, getDConfigBeanVersion, getDefaultLocale, getNonRunningModules, getRunningModules, getSupportedLocales, getTargets, isDConfigBeanVersionSupported, isLocaleSupported, isRedeploySupported, redeploy, redeploy, release, setDConfigBeanVersion, setLocale, start, stop, undeploy
javax.enterprise.deploy.spi.status.ProgressObject distribute(javax.enterprise.deploy.spi.Target[] targetList, Archive moduleArchive, Archive deploymentPlan, Object deploymentOptions) throws 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.getDeploymentOptionsIllegalStateException
- is thrown when the method is
called when running in disconnected mode.WritableArchive getArchive(URI path, String name) throws IOException
path
- the directory in which to create this archive if local
storage is a possibility.name
- is the desired name for the archiveIOException
Copyright © 2019. All rights reserved.