|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.deployers.plugins.deployers.DeployerWrapper
public class DeployerWrapper
DeployerWrapper.
To avoid any problems with error handling by the deployers.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.jboss.deployers.spi.Ordered |
|---|
Ordered.OrderedComparator |
| Field Summary |
|---|
| Fields inherited from interface org.jboss.deployers.spi.Ordered |
|---|
COMPARATOR |
| Constructor Summary | |
|---|---|
DeployerWrapper(Deployer deployer)
Create a new DeployerWrapper. |
|
| Method Summary | |
|---|---|
void |
build(DeploymentUnit unit,
Set<String> outputs,
Map<String,org.jboss.managed.api.ManagedObject> managedObjects)
Build managed objects for this deployment context |
void |
deploy(DeploymentUnit unit)
Deploy a deployment |
boolean |
equals(Object obj)
|
Class<?> |
getInput()
Get the input for this deployer |
Set<String> |
getInputs()
Get the input for this deployer |
ManagedObjectCreator |
getManagedObjectCreator()
Get the managedObjectCreator. |
Class<?> |
getOutput()
Get the otput for this deployer |
Set<String> |
getOutputs()
Get the outputs for this deployer |
int |
getRelativeOrder()
Get the relative order |
DeploymentStage |
getStage()
Get the deployment stage for this deployer |
int |
hashCode()
|
boolean |
isAllInputs()
Whether we want all inputs |
boolean |
isComponentsOnly()
Whether we only want components |
boolean |
isParentFirst()
Whether to process parents before children (default true) |
boolean |
isTopLevelOnly()
Whether we only want the top level |
boolean |
isWantComponents()
Whether we dont want components |
void |
setManagedObjectCreator(ManagedObjectCreator managedObjectCreator)
Set the managedObjectCreator. |
void |
setRelativeOrder(int order)
Set the relative order. |
String |
toString()
|
void |
undeploy(DeploymentUnit unit)
Undeploy an deployment |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DeployerWrapper(Deployer deployer)
deployer - the deployer| Method Detail |
|---|
public ManagedObjectCreator getManagedObjectCreator()
public void setManagedObjectCreator(ManagedObjectCreator managedObjectCreator)
managedObjectCreator - the managedObjectCreator.public int getRelativeOrder()
Ordered
getRelativeOrder in interface Orderedpublic void setRelativeOrder(int order)
Ordered
setRelativeOrder in interface Orderedorder - the orderpublic boolean isAllInputs()
Deployer
isAllInputs in interface Deployerpublic boolean isComponentsOnly()
Deployer
isComponentsOnly in interface Deployerpublic boolean isWantComponents()
Deployer
isWantComponents in interface Deployerpublic boolean isTopLevelOnly()
Deployer
isTopLevelOnly in interface Deployerpublic Class<?> getInput()
Deployer
getInput in interface Deployerpublic Class<?> getOutput()
Deployer
getOutput in interface Deployerpublic Set<String> getInputs()
Deployer
getInputs in interface Deployerpublic Set<String> getOutputs()
Deployer
getOutputs in interface Deployerpublic DeploymentStage getStage()
Deployer
getStage in interface Deployerpublic boolean isParentFirst()
Deployer
isParentFirst in interface Deployer
public void deploy(DeploymentUnit unit)
throws DeploymentException
Deployer
deploy in interface Deployerunit - the unit
DeploymentException - for any errorpublic void undeploy(DeploymentUnit unit)
Deployer
undeploy in interface Deployerunit - the unit
public void build(DeploymentUnit unit,
Set<String> outputs,
Map<String,org.jboss.managed.api.ManagedObject> managedObjects)
throws DeploymentException
ManagedObjectCreator
build in interface ManagedObjectCreatorunit - the deployment unitoutputs - the attachment namesmanagedObjects - the managed objects
DeploymentExceptionpublic boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||