Methods Summary |
---|
public boolean | connect(ServerConnectionIdentifier targetDAS)Connects to a particular instance of the domain adminstration
server using the provided connection information
|
public JESProgressObject | createAppRef(javax.enterprise.deploy.spi.Target[] targets, java.lang.String moduleID, java.util.Map options)Add an application ref on the selected targets
|
public javax.enterprise.deploy.spi.Target[] | createTargets(java.lang.String[] targets)
|
public JESProgressObject | deleteAppRef(javax.enterprise.deploy.spi.Target[] targets, java.lang.String moduleID, java.util.Map options)remove the application ref for the provided list of targets.
|
public JESProgressObject | deploy(javax.enterprise.deploy.spi.Target[] targets, com.sun.enterprise.deployment.deploy.shared.Archive source, com.sun.enterprise.deployment.deploy.shared.Archive deploymentPlan, java.util.Map deploymentOptions)Initiates a deployment operation on the server, using a source
archive abstraction and an optional deployment plan if the
server specific information is not embedded in the source
archive. The deploymentOptions is a key-value pair map of
deployment options for this operations. Once the deployment
is successful, the targets server instances
|
public JESProgressObject | disable(javax.enterprise.deploy.spi.Target[] targets, java.lang.String moduleID)Disables a deployed component on the provided list of targets
|
public boolean | disconnect()Disconnects from a domain administration server and releases
all associated resouces.
|
public java.lang.String | downloadFile(java.io.File location, java.lang.String moduleID, java.lang.String moduleURI)Downloads a particular file from the server repository.
The filePath is a relative path from the root directory of the
deployed component identified with the moduleID parameter.
The resulting downloaded file should be placed in the
location directory keeping the relative path constraint.
|
public JESProgressObject | enable(javax.enterprise.deploy.spi.Target[] targets, java.lang.String moduleID)Enables a deployed component on the provided list of targets.
|
public boolean | isConnected()
|
public javax.enterprise.deploy.spi.TargetModuleID[] | listAppRefs(java.lang.String[] targets)list all application refs that are present in the provided list of targets
|
public JESProgressObject | undeploy(javax.enterprise.deploy.spi.Target[] targets, java.lang.String moduleID)Initiates a undeployment operation on the server
|
public JESProgressObject | undeploy(javax.enterprise.deploy.spi.Target[] targets, java.lang.String moduleID, java.util.Map options)
|
public com.sun.enterprise.deployment.backend.DeploymentStatus | waitFor(JESProgressObject po)Wait for a progress object to be in a completed state
(sucessful or failed) and return the DeploymentStatus for
this progress object.
|