public interface DeployerFactory
Deployer knowing the container to which it is attached and the deployer type.| Modifier and Type | Method and Description |
|---|---|
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. |
Class<? extends Deployer> |
getDeployerClass(String containerId,
DeployerType deployerType) |
boolean |
isDeployerRegistered(String containerId,
DeployerType deployerType) |
void |
registerDeployer(String containerId,
DeployerType deployerType,
Class<? extends Deployer> deployerClass)
Registers a
Deployer implementation. |
void registerDeployer(String containerId, DeployerType deployerType, Class<? extends Deployer> 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(String containerId, DeployerType deployerType)
containerId - the container attached to this deployer classdeployerType - the type to differentiate this deployer from others for the specified
containerClass<? extends Deployer> getDeployerClass(String containerId, DeployerType deployerType)
containerId - the container attached to this deployer classdeployerType - the deployer's typeDeployer 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 instanceCopyright © 2004–2015 Github. All rights reserved.