|
||||||||||
| 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 |
|---|
org.jboss.deployers.spi.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()
|
DeploymentStage |
getStage()
Get the deployment stage for this deployer |
String |
getType()
Get the type. |
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)
|
void |
setStage(DeploymentStage stage)
Set the stage. |
void |
setTopLevelOnly(boolean topLevelOnly)
Set the top level only. |
void |
setType(String type)
|
void |
setWantComponents(boolean wantComponents)
Set the want components. |
void |
undeploy(org.jboss.deployers.structure.spi.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()
getRelativeOrder in interface org.jboss.deployers.spi.Orderedpublic void setRelativeOrder(int relativeOrder)
setRelativeOrder in interface org.jboss.deployers.spi.Orderedpublic DeploymentStage getStage()
Deployer
getStage in interface Deployerpublic void setStage(DeploymentStage stage)
stage - the stage.
IllegalArgumentException - for a null stagepublic boolean isAllInputs()
Deployer
isAllInputs in interface Deployerpublic void setAllInputs(boolean allInputs)
allInputs - the allInputs.public boolean isComponentsOnly()
Deployer
isComponentsOnly in interface Deployerpublic void setComponentsOnly(boolean componentsOnly)
componentsOnly - the componentsOnly.public boolean isWantComponents()
Deployer
isWantComponents in interface Deployerpublic void setWantComponents(boolean wantComponents)
wantComponents - the want components.public boolean isTopLevelOnly()
Deployer
isTopLevelOnly in interface Deployerpublic void setTopLevelOnly(boolean topLevelOnly)
topLevelOnly - the top level only.public Class<?> getInput()
Deployer
getInput in interface Deployerpublic void setInput(Class<?> input)
input - the inputpublic Class<?> getOutput()
Deployer
getOutput in interface Deployerpublic void setOutput(Class<?> output)
output - the outputspublic Set<String> getInputs()
Deployer
getInputs in interface Deployerpublic 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 Deployerpublic 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 String getType()
getType in interface Deployerpublic void setType(String type)
public boolean isParentFirst()
Deployer
isParentFirst in interface Deployerpublic void setParentFirst(boolean parentFirst)
parentFirst - the parentFirst.public void undeploy(org.jboss.deployers.structure.spi.DeploymentUnit unit)
Deployer
undeploy in interface Deployerunit - the unit
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||