|
||||||||||
| 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
org.jboss.deployers.spi.deployer.helpers.AbstractAllInputDeployer
public abstract class AbstractAllInputDeployer
Check all required inputs.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.jboss.deployers.spi.Ordered |
|---|
Ordered.OrderedComparator |
| Field Summary |
|---|
| Fields inherited from class org.jboss.deployers.spi.deployer.helpers.AbstractDeployer |
|---|
log |
| Fields inherited from interface org.jboss.deployers.spi.Ordered |
|---|
COMPARATOR |
| Constructor Summary | |
|---|---|
AbstractAllInputDeployer()
|
|
| Method Summary | |
|---|---|
void |
addOptionalInput(Class<?> input)
Add optional input. |
void |
addOptionalInput(String input)
Add optional input. |
void |
deploy(DeploymentUnit unit)
Deploy a deployment |
protected boolean |
hasAllRequiredInputs(DeploymentUnit unit)
Do we have all required inputs. |
protected abstract void |
internalDeploy(DeploymentUnit unit)
Deploy a deployment |
protected void |
internalUndeploy(DeploymentUnit unit)
Undeploy an deployment |
void |
setOptionalInputs(Set<String> optionalInputs)
Set optional inputs. |
void |
undeploy(DeploymentUnit unit)
Undeploy an deployment |
| Methods inherited from class org.jboss.deployers.spi.deployer.helpers.AbstractDeployer |
|---|
addInput, addInput, addOutput, addOutput, getInput, getInputs, getOutput, getOutputs, getRelativeOrder, getStage, isAllInputs, isComponentsOnly, isParentFirst, isTopLevelOnly, isWantComponents, setAllInputs, setComponentsOnly, setInput, setInputs, setInputs, setInputs, setOutput, setOutputs, setOutputs, setOutputs, setParentFirst, setRelativeOrder, setStage, setTopLevelOnly, setWantComponents |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractAllInputDeployer()
| Method Detail |
|---|
protected boolean hasAllRequiredInputs(DeploymentUnit unit)
unit - the deployment unit
public final void deploy(DeploymentUnit unit)
throws DeploymentException
Deployer
unit - the unit
DeploymentException - for any error
protected abstract void internalDeploy(DeploymentUnit unit)
throws DeploymentException
unit - the unit
DeploymentException - for any errorpublic final void undeploy(DeploymentUnit unit)
Deployer
undeploy in interface Deployerundeploy in class AbstractDeployerunit - the unitprotected void internalUndeploy(DeploymentUnit unit)
unit - the unitpublic void addOptionalInput(Class<?> input)
input - the inputpublic void addOptionalInput(String input)
input - the inputpublic void setOptionalInputs(Set<String> optionalInputs)
optionalInputs - the optional inputs
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||