|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DeployerFactory
Create a Deployer knowing the container to which it is attached and the deployer type.
| Method Summary | |
|---|---|
org.codehaus.cargo.container.deployer.Deployer |
createDeployer(org.codehaus.cargo.container.Container container)
Create a Deployer instance whose type matches the container's type. |
org.codehaus.cargo.container.deployer.Deployer |
createDeployer(org.codehaus.cargo.container.Container container,
org.codehaus.cargo.container.deployer.DeployerType deployerType)
Create a Deployer instance matching the specified container and type. |
java.lang.Class |
getDeployerClass(java.lang.String containerId,
org.codehaus.cargo.container.deployer.DeployerType deployerType)
|
boolean |
isDeployerRegistered(java.lang.String containerId,
org.codehaus.cargo.container.deployer.DeployerType deployerType)
|
void |
registerDeployer(java.lang.String containerId,
org.codehaus.cargo.container.deployer.DeployerType deployerType,
java.lang.Class deployerClass)
Registers a Deployer implementation. |
| Method Detail |
|---|
void registerDeployer(java.lang.String containerId,
org.codehaus.cargo.container.deployer.DeployerType deployerType,
java.lang.Class deployerClass)
Deployer implementation.
containerId - the container attached to this deployerClassdeployerType - the deployer's type (local, remote, etc)deployerClass - the deployer implementation class to register
boolean isDeployerRegistered(java.lang.String containerId,
org.codehaus.cargo.container.deployer.DeployerType deployerType)
containerId - the container attached to this deployer classdeployerType - the type to differentiate this deployer from others for the specified
container
java.lang.Class getDeployerClass(java.lang.String containerId,
org.codehaus.cargo.container.deployer.DeployerType deployerType)
containerId - the container attached to this deployer classdeployerType - the deployer's type
org.codehaus.cargo.container.deployer.Deployer createDeployer(org.codehaus.cargo.container.Container container,
org.codehaus.cargo.container.deployer.DeployerType deployerType)
Deployer instance matching the specified container and type.
container - the container for which we need to create a deployer instancedeployerType - the deployer's type (local, remote, etc)
org.codehaus.cargo.container.deployer.Deployer createDeployer(org.codehaus.cargo.container.Container container)
Deployer instance whose type matches the container's type. For example
this creates a local deployer when the container's instance passed is a local container and
a remote deployer when the container's instance passed is a remote container.
container - the container for which we need to create a deployer instance
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||