Class AbstractJonas4xRemoteDeployer
- 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.jonas.internal.AbstractJonasRemoteDeployer
-
- org.codehaus.cargo.container.jonas.internal.AbstractJonas4xRemoteDeployer
-
- Direct Known Subclasses:
Jonas4xJsr160RemoteDeployer
,Jonas4xMEJBRemoteDeployer
public abstract class AbstractJonas4xRemoteDeployer extends AbstractJonasRemoteDeployer
Remote deployer for JOnAS 4.x.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.codehaus.cargo.container.jonas.internal.AbstractJonasRemoteDeployer
AbstractJonasRemoteDeployer.ActionType, AbstractJonasRemoteDeployer.RemoteDeployerConfig, AbstractJonasRemoteDeployer.TargetType
-
-
Field Summary
-
Fields inherited from class org.codehaus.cargo.container.jonas.internal.AbstractJonasRemoteDeployer
configuration
-
-
Constructor Summary
Constructors Constructor Description AbstractJonas4xRemoteDeployer(RemoteContainer container)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
getOperationName(AbstractJonasRemoteDeployer.ActionType actionType, DeployableType deployableType, AbstractJonasRemoteDeployer.TargetType targetType)
Returns the operation name for the given deployable and action type.protected String
getRemoteFileName(Deployable deployable, String deployableIdentifier, boolean askFromServer)
Get the remote file name.-
Methods inherited from class org.codehaus.cargo.container.jonas.internal.AbstractJonasRemoteDeployer
deploy, getConfig, getDomainMBeanName, getMBeanServerConnectionFactory, getServerMBeanName, 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, redeploy, start, start, stop, stop, undeploy
-
Methods inherited from class org.codehaus.cargo.util.log.LoggedObject
getLogger, setLogger
-
-
-
-
Constructor Detail
-
AbstractJonas4xRemoteDeployer
public AbstractJonas4xRemoteDeployer(RemoteContainer container)
Constructor.- Parameters:
container
- the remote container
-
-
Method Detail
-
getOperationName
protected String getOperationName(AbstractJonasRemoteDeployer.ActionType actionType, DeployableType deployableType, AbstractJonasRemoteDeployer.TargetType targetType)
Returns the operation name for the given deployable and action type.- Specified by:
getOperationName
in classAbstractJonasRemoteDeployer
- Parameters:
actionType
- Action type.deployableType
- Deployable type.targetType
- Target type.- Returns:
- Operation name.
-
getRemoteFileName
protected String getRemoteFileName(Deployable deployable, String deployableIdentifier, boolean askFromServer)
Get the remote file name.- Specified by:
getRemoteFileName
in classAbstractJonasRemoteDeployer
- Parameters:
deployable
- the deployable Object.deployableIdentifier
- the deployable object ID.askFromServer
- whether to ask from server (in order to have a full path).- Returns:
- the remote file Name.
-
-