|
||||||||||
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 deployerMethod Detail |
---|
public ManagedObjectCreator getManagedObjectCreator()
public void setManagedObjectCreator(ManagedObjectCreator managedObjectCreator)
managedObjectCreator
- the managedObjectCreator.public int getRelativeOrder()
Ordered
getRelativeOrder
in interface Ordered
public void setRelativeOrder(int order)
Ordered
setRelativeOrder
in interface Ordered
order
- the orderpublic boolean isAllInputs()
Deployer
isAllInputs
in interface Deployer
public boolean isComponentsOnly()
Deployer
isComponentsOnly
in interface Deployer
public boolean isWantComponents()
Deployer
isWantComponents
in interface Deployer
public boolean isTopLevelOnly()
Deployer
isTopLevelOnly
in interface Deployer
public Class<?> getInput()
Deployer
getInput
in interface Deployer
public Class<?> getOutput()
Deployer
getOutput
in interface Deployer
public Set<String> getInputs()
Deployer
getInputs
in interface Deployer
public Set<String> getOutputs()
Deployer
getOutputs
in interface Deployer
public DeploymentStage getStage()
Deployer
getStage
in interface Deployer
public boolean isParentFirst()
Deployer
isParentFirst
in interface Deployer
public void deploy(DeploymentUnit unit) throws DeploymentException
Deployer
deploy
in interface Deployer
unit
- the unit
DeploymentException
- for any errorpublic void undeploy(DeploymentUnit unit)
Deployer
undeploy
in interface Deployer
unit
- the unitpublic void build(DeploymentUnit unit, Set<String> outputs, Map<String,org.jboss.managed.api.ManagedObject> managedObjects) throws DeploymentException
ManagedObjectCreator
build
in interface ManagedObjectCreator
unit
- the deployment unitoutputs
- the attachment namesmanagedObjects
- the managed objects
DeploymentException
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |