public interface Jsr88DeploymentManager
| Modifier and Type | Interface and Description |
|---|---|
static class |
Jsr88DeploymentManager.TargetType |
| Modifier and Type | Method and Description |
|---|---|
javax.enterprise.deploy.spi.DeploymentConfiguration |
createDeploymentConfiguration(javax.enterprise.deploy.model.DeployableObject deployableObject)
Creates a DeployementConfiguration object from a DeployableObject.
|
java.lang.String |
getArchiveVersion(javax.enterprise.deploy.spi.TargetModuleID targetModuleID)
Returns the Archive version associated witht the given TargetModuleID.
|
javax.enterprise.deploy.spi.TargetModuleID[] |
getInstalledApplications(javax.enterprise.deploy.spi.Target[] targets,
javax.enterprise.deploy.shared.ModuleType moduleType,
java.lang.String applicationName)
Returns a TargetModuleID array representing applications found on the server that match
the given application by name and JEE ModuleType.
|
java.util.Iterator |
getRootException(javax.enterprise.deploy.spi.status.DeploymentStatus deploymentStatus)
Returns the RootException of a DeploymentStatus as an iterator of Throwable instances.
|
javax.enterprise.deploy.spi.TargetModuleID[] |
getTargetModuleIDs(java.util.List<java.lang.String> applicationIDs,
java.util.logging.Logger logger)
Returns a list of TargetModuleIDs corresponding to the given application IDs.
|
javax.enterprise.deploy.spi.Target[] |
getTargets(Jsr88DeploymentManager.TargetType targetType)
Returns the Targets given a specify targetType.
|
javax.enterprise.deploy.spi.status.ProgressObject |
invokeDeployApplicationMethod(javax.enterprise.deploy.spi.Target[] targets,
java.io.File applicationFile,
java.io.File deploymentPlan,
java.lang.String applicationName,
boolean isApplicationLibrary)
Invokes Deployment of an Application file and DeploymentPlan given on the given targets.
|
javax.enterprise.deploy.spi.status.ProgressObject |
invokeRedeployApplicationMethod(javax.enterprise.deploy.spi.TargetModuleID[] apps,
java.io.File applicationFile,
java.io.File deploymentPlan,
java.lang.String applicationName)
Invokes ReDeployment of an Application file and DeploymentPlan given on the given targets.
|
javax.enterprise.deploy.spi.status.ProgressObject |
invokeStartMethod(javax.enterprise.deploy.spi.TargetModuleID[] apps)
Invokes a start of an Application.
|
javax.enterprise.deploy.spi.status.ProgressObject |
invokeStopMethod(javax.enterprise.deploy.spi.TargetModuleID[] apps)
Invokes a stop of an Application.
|
javax.enterprise.deploy.spi.status.ProgressObject |
invokeUndeployApplicationsMethod(javax.enterprise.deploy.spi.TargetModuleID[] apps)
Invokes UnDeployment of an Application.
|
javax.enterprise.deploy.spi.Target[] getTargets(Jsr88DeploymentManager.TargetType targetType) throws java.lang.Exception
targetType - The TargetType (SERVERS, CLUSTERS or ALL).java.lang.Exceptionjavax.enterprise.deploy.spi.TargetModuleID[] getInstalledApplications(javax.enterprise.deploy.spi.Target[] targets,
javax.enterprise.deploy.shared.ModuleType moduleType,
java.lang.String applicationName)
throws java.lang.Exception
targets - the server Targets to search on.moduleType - the JEE ModuleType (EAR/WAR/RAR etc) to search for.applicationName - the name of the application to search for.java.lang.Exceptionjavax.enterprise.deploy.spi.TargetModuleID[] getTargetModuleIDs(java.util.List<java.lang.String> applicationIDs,
java.util.logging.Logger logger)
throws java.lang.Exception
applicationIDs - Application Names.logger - Logger to be used for warning messagesjava.lang.Exceptionjavax.enterprise.deploy.spi.DeploymentConfiguration createDeploymentConfiguration(javax.enterprise.deploy.model.DeployableObject deployableObject)
throws java.lang.Exception
deployableObject - The deployableObject representing the JEE module to be deployed.java.lang.Exceptionjavax.enterprise.deploy.spi.status.ProgressObject invokeDeployApplicationMethod(javax.enterprise.deploy.spi.Target[] targets,
java.io.File applicationFile,
java.io.File deploymentPlan,
java.lang.String applicationName,
boolean isApplicationLibrary)
throws java.lang.Exception
targets - The targets where the application will be deployed.applicationFile - The archive being deployed (archive or exploded directory)deploymentPlan - The deploymentPlan for this application.applicationName - The name of the applicatioin being deployed.isApplicationLibrary - indicates if the application is a Shared Library or not.java.lang.Exceptionjavax.enterprise.deploy.spi.status.ProgressObject invokeRedeployApplicationMethod(javax.enterprise.deploy.spi.TargetModuleID[] apps,
java.io.File applicationFile,
java.io.File deploymentPlan,
java.lang.String applicationName)
throws java.lang.Exception
apps - The TargetModuleID array representing the existing applications to be replaced.applicationFile - The archive being deployed (archive or exploded directory)deploymentPlan - The deploymentPlan for this application.applicationName - The name of the application being redeployed.java.lang.Exceptionjavax.enterprise.deploy.spi.status.ProgressObject invokeUndeployApplicationsMethod(javax.enterprise.deploy.spi.TargetModuleID[] apps)
throws java.lang.Exception
apps - The TargetModuleID array representing the existing applications to be removed.java.lang.Exceptionjavax.enterprise.deploy.spi.status.ProgressObject invokeStartMethod(javax.enterprise.deploy.spi.TargetModuleID[] apps)
throws java.lang.Exception
apps - The TargetModuleID array representing the existing applications to be started.java.lang.Exceptionjavax.enterprise.deploy.spi.status.ProgressObject invokeStopMethod(javax.enterprise.deploy.spi.TargetModuleID[] apps)
throws java.lang.Exception
apps - The TargetModuleID array representing the existing applications to be stoped.java.lang.Exceptionjava.lang.String getArchiveVersion(javax.enterprise.deploy.spi.TargetModuleID targetModuleID)
targetModuleID - java.util.Iterator getRootException(javax.enterprise.deploy.spi.status.DeploymentStatus deploymentStatus)
deploymentStatus -