| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.axis2.engine.DeployableChain
public class DeployableChain
A DeployableChain is a container which manages dependencies between Deployables. You deploy() them in, then call rebuild() which will set up a chain, correctly ordered according to the constraints in the Deployables.
| Constructor Summary | |
|---|---|
| DeployableChain() | |
| Method Summary | |
|---|---|
|  void | addRelationship(java.lang.String before,
                java.lang.String after)Adds a before/after relationship to the active constraints. | 
|  void | deploy(Deployable deployable)Deploy a Deployable into this chain. | 
|  java.util.List | getChain()Get the chain - once rebuild() has been called this will be the chain of target objects. | 
|  void | rebuild()Taking into account all the active constraints, order the list. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public DeployableChain()
| Method Detail | 
|---|
public void deploy(Deployable deployable)
            throws java.lang.Exception
deployable - Deployable to deploy.
java.lang.Exception - if there is a deployment error.
public void rebuild()
             throws java.lang.Exception
java.lang.Exception - if there's an ordering conflict
public void addRelationship(java.lang.String before,
                            java.lang.String after)
before - name of the Deployable that must come firstafter - name of the Deployable that must come laterpublic java.util.List getChain()
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||