|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.smartcc.Deployer | +--org.smartcc.MainDeployer
A main deployer, that delegates to the registered sub deployers.
Constructor Summary | |
MainDeployer()
|
Method Summary | |
void |
deploy(java.net.URL url)
Hand the deployment unit to the appropriate sub deployer. |
static MainDeployer |
getInstance()
Singleton. |
boolean |
isDeployed(java.net.URL url)
Ask all sub deployers, if they have deployed the specified unit. |
boolean |
isResponsibleFor(java.net.URL url)
The main deployer should have sub deployers for all possible kinds of deployment units. |
java.util.List |
list()
Return a List of all sub deployers. |
void |
registerDeployer(Deployer deployer)
Register a new sub deployer. |
void |
undeploy(java.net.URL url)
Ask the appropriate sub deployer to undeploy the unit. |
Methods inherited from class org.smartcc.Deployer |
getDocument, getDocument |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MainDeployer()
Method Detail |
public boolean isResponsibleFor(java.net.URL url)
isResponsibleFor
in class Deployer
public void registerDeployer(Deployer deployer)
public void deploy(java.net.URL url) throws DeploymentException
deploy
in class Deployer
DeploymentException
public boolean isDeployed(java.net.URL url) throws DeploymentException
isDeployed
in class Deployer
DeploymentException
public void undeploy(java.net.URL url) throws DeploymentException
undeploy
in class Deployer
DeploymentException
public java.util.List list()
public static MainDeployer getInstance()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |