|
||||||||||
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 | |
---|---|
Deployer |
createDeployer(Container container)
Create a Deployer instance whose type matches the container's type. |
Deployer |
createDeployer(Container container,
DeployerType deployerType)
Create a Deployer instance matching the specified container and type. |
java.lang.Class |
getDeployerClass(java.lang.String containerId,
DeployerType deployerType)
|
boolean |
isDeployerRegistered(java.lang.String containerId,
DeployerType deployerType)
|
void |
registerDeployer(java.lang.String containerId,
DeployerType deployerType,
java.lang.Class deployerClass)
Registers a Deployer implementation. |
Method Detail |
---|
void registerDeployer(java.lang.String containerId, 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 registerboolean isDeployerRegistered(java.lang.String containerId, 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, DeployerType deployerType)
containerId
- the container attached to this deployer classdeployerType
- the deployer's type
Deployer createDeployer(Container container, 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)
Deployer createDeployer(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 |