public interface DeployableFactory
Modifier and Type | Method and Description |
---|---|
Deployable |
createDeployable(String containerId,
String deployableLocation,
DeployableType deployableType) |
boolean |
isDeployableRegistered(String containerId,
DeployableType deployableType) |
void |
registerDeployable(String containerId,
DeployableType deployableType,
Class deployableClass)
Registers a deployable implementation against a container.
|
void registerDeployable(String containerId, DeployableType deployableType, Class deployableClass)
containerId
- the container id attached to this deployable classdeployableType
- the type to differentiate this deployable from others for the specified
containerdeployableClass
- the deployable implementation class to registerboolean isDeployableRegistered(String containerId, DeployableType deployableType)
containerId
- the container attached to the deployable type classdeployableType
- the type to differentiate this deployable from others for the specified
containerDeployable createDeployable(String containerId, String deployableLocation, DeployableType deployableType)
containerId
- the container id for which to create the deployable fordeployableLocation
- the location of the Deployable being wrapped. It must point to
a WAR file, an EAR file or an exanded WAR directorydeployableType
- the deployable type to createDeployable
instanceCopyright © 2004-2013 Codehaus. All Rights Reserved.