Class GlassFish3xRemoteDeployer
- java.lang.Object
-
- org.codehaus.cargo.util.log.LoggedObject
-
- org.codehaus.cargo.container.spi.deployer.AbstractDeployer
-
- org.codehaus.cargo.container.spi.deployer.AbstractRemoteDeployer
-
- org.codehaus.cargo.container.spi.deployer.AbstractJsr88Deployer
-
- org.codehaus.cargo.container.glassfish.GlassFish3xRemoteDeployer
-
- Direct Known Subclasses:
GlassFish4xRemoteDeployer
public class GlassFish3xRemoteDeployer extends AbstractJsr88Deployer
GlassFish 3.x remote deployer, which uses the JSR-88 to deploy and undeploy applications.
-
-
Constructor Summary
Constructors Constructor Description GlassFish3xRemoteDeployer(RemoteContainer container)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected javax.enterprise.deploy.spi.TargetModuleID[]
filterTargetModuleIDs(List<javax.enterprise.deploy.spi.TargetModuleID> targetModuleIDs)
protected javax.enterprise.deploy.spi.Target[]
filterTargets(javax.enterprise.deploy.spi.Target[] targets)
protected String
getDeploymentFactoryClassName()
protected javax.enterprise.deploy.spi.DeploymentManager
getDeploymentManager(javax.enterprise.deploy.shared.factories.DeploymentFactoryManager dfm)
-
Methods inherited from class org.codehaus.cargo.container.spi.deployer.AbstractJsr88Deployer
deploy, getRuntimeConfiguration, redeploy, start, stop, undeploy
-
Methods inherited from class org.codehaus.cargo.container.spi.deployer.AbstractRemoteDeployer
getContainer, getType
-
Methods inherited from class org.codehaus.cargo.container.spi.deployer.AbstractDeployer
deploy, deploy, redeploy, redeploy, start, stop, undeploy
-
Methods inherited from class org.codehaus.cargo.util.log.LoggedObject
getLogger, setLogger
-
-
-
-
Constructor Detail
-
GlassFish3xRemoteDeployer
public GlassFish3xRemoteDeployer(RemoteContainer container)
Constructor.- Parameters:
container
- the remote container
-
-
Method Detail
-
getDeploymentFactoryClassName
protected String getDeploymentFactoryClassName()
- Specified by:
getDeploymentFactoryClassName
in classAbstractJsr88Deployer
- Returns:
- The class name of the JSR-88 deployment factory.
-
getDeploymentManager
protected javax.enterprise.deploy.spi.DeploymentManager getDeploymentManager(javax.enterprise.deploy.shared.factories.DeploymentFactoryManager dfm) throws javax.enterprise.deploy.spi.exceptions.DeploymentManagerCreationException
- Specified by:
getDeploymentManager
in classAbstractJsr88Deployer
- Parameters:
dfm
- JSR-88 deployment factory manager with the target deployer factory registered.- Returns:
- The JSR-88 deployment manager for the target server.
- Throws:
javax.enterprise.deploy.spi.exceptions.DeploymentManagerCreationException
- If deployment manager creation fails.
-
filterTargets
protected javax.enterprise.deploy.spi.Target[] filterTargets(javax.enterprise.deploy.spi.Target[] targets)
- Overrides:
filterTargets
in classAbstractJsr88Deployer
- Parameters:
targets
- All available targets in the container instance.- Returns:
- Targets set up in the runtime configuration.
-
filterTargetModuleIDs
protected javax.enterprise.deploy.spi.TargetModuleID[] filterTargetModuleIDs(List<javax.enterprise.deploy.spi.TargetModuleID> targetModuleIDs)
- Overrides:
filterTargetModuleIDs
in classAbstractJsr88Deployer
- Parameters:
targetModuleIDs
- List with all available target module IDs for the target module.- Returns:
- Target module IDs set up in the runtime configuration.
-
-