|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.deployers.spi.deployer.helpers.AbstractDeployer
public abstract class AbstractDeployer
AbstractDeployer.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.jboss.deployers.spi.Ordered |
---|
Ordered.OrderedComparator |
Field Summary | |
---|---|
protected org.jboss.logging.Logger |
log
The log |
Fields inherited from interface org.jboss.deployers.spi.Ordered |
---|
COMPARATOR |
Constructor Summary | |
---|---|
AbstractDeployer()
|
Method Summary | |
---|---|
void |
addInput(Class<?> input)
Add an input |
void |
addInput(String input)
Add an input |
void |
addOutput(Class<?> output)
Add an output |
void |
addOutput(String output)
Add an output |
Class<?> |
getInput()
Get the input for this deployer |
Set<String> |
getInputs()
Get the input for this deployer |
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 |
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 |
setAllInputs(boolean allInputs)
Set the allInputs. |
void |
setComponentsOnly(boolean componentsOnly)
Set the components only. |
void |
setInput(Class<?> input)
Set the input |
void |
setInputs(Class<?>... inputs)
Set the inputs. |
void |
setInputs(Set<String> inputs)
Set the inputs. |
void |
setInputs(String... inputs)
Set the inputs. |
void |
setOutput(Class<?> output)
Set the output |
void |
setOutputs(Class<?>... outputs)
Set the outputs. |
void |
setOutputs(Set<String> outputs)
Set the outputs. |
void |
setOutputs(String... outputs)
Set the outputs. |
void |
setParentFirst(boolean parentFirst)
Set the parentFirst. |
void |
setRelativeOrder(int relativeOrder)
Set the relative order. |
void |
setStage(DeploymentStage stage)
Set the stage. |
void |
setTopLevelOnly(boolean topLevelOnly)
Set the top level only. |
void |
setWantComponents(boolean wantComponents)
Set the want components. |
void |
undeploy(DeploymentUnit unit)
Undeploy an deployment |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.jboss.deployers.spi.deployer.Deployer |
---|
deploy |
Field Detail |
---|
protected org.jboss.logging.Logger log
Constructor Detail |
---|
public AbstractDeployer()
Method Detail |
---|
public int getRelativeOrder()
Ordered
getRelativeOrder
in interface Ordered
public void setRelativeOrder(int relativeOrder)
Ordered
setRelativeOrder
in interface Ordered
relativeOrder
- the orderpublic DeploymentStage getStage()
Deployer
getStage
in interface Deployer
public void setStage(DeploymentStage stage)
stage
- the stage.
IllegalArgumentException
- for a null stagepublic boolean isAllInputs()
Deployer
isAllInputs
in interface Deployer
public void setAllInputs(boolean allInputs)
allInputs
- the allInputs.public boolean isComponentsOnly()
Deployer
isComponentsOnly
in interface Deployer
public void setComponentsOnly(boolean componentsOnly)
componentsOnly
- the componentsOnly.public boolean isWantComponents()
Deployer
isWantComponents
in interface Deployer
public void setWantComponents(boolean wantComponents)
wantComponents
- the want components.public boolean isTopLevelOnly()
Deployer
isTopLevelOnly
in interface Deployer
public void setTopLevelOnly(boolean topLevelOnly)
topLevelOnly
- the top level only.public Class<?> getInput()
Deployer
getInput
in interface Deployer
public void setInput(Class<?> input)
input
- the inputpublic Class<?> getOutput()
Deployer
getOutput
in interface Deployer
public void setOutput(Class<?> output)
output
- the outputspublic Set<String> getInputs()
Deployer
getInputs
in interface Deployer
public void setInputs(Set<String> inputs)
inputs
- the inputs.public void setInputs(String... inputs)
inputs
- the inputs.public void setInputs(Class<?>... inputs)
inputs
- the inputs.public void addInput(String input)
input
- the inputpublic void addInput(Class<?> input)
input
- the inputpublic Set<String> getOutputs()
Deployer
getOutputs
in interface Deployer
public void setOutputs(Set<String> outputs)
outputs
- the outputs.public void setOutputs(String... outputs)
outputs
- the outputs.public void setOutputs(Class<?>... outputs)
outputs
- the outputs.public void addOutput(String output)
output
- the outputpublic void addOutput(Class<?> output)
output
- the outputpublic boolean isParentFirst()
Deployer
isParentFirst
in interface Deployer
public void setParentFirst(boolean parentFirst)
parentFirst
- the parentFirst.public void undeploy(DeploymentUnit unit)
Deployer
undeploy
in interface Deployer
unit
- the unit
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |