|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DeployAdmin
DeployAdmin interface defines methods to deploy, undeploy, redeploy, query and optionally remove pending deployment and redeployment requests
| Method Summary | |
|---|---|
Map<String,Throwable> |
deploy(OperationalString opstring)
Deploy an OperationalString to the ProvisionMonitor. |
Map<String,Throwable> |
deploy(OperationalString opstring,
ServiceProvisionListener listener)
Deploy an OperationalString to the ProvisionMonitor. |
Map<String,Throwable> |
deploy(String opStringLocation)
Deploy an OperationalString to the ProvisionMonitor. |
Map<String,Throwable> |
deploy(String opStringLocation,
ServiceProvisionListener listener)
Deploy an OperationalString to the ProvisionMonitor. |
Map<String,Throwable> |
deploy(URL opStringUrl)
Deploy an OperationalString URL to the ProvisionMonitor. |
Map<String,Throwable> |
deploy(URL opStringUrl,
ServiceProvisionListener listener)
Deploy an OperationalString URL to the ProvisionMonitor. |
OperationalStringManager |
getOperationalStringManager(String name)
Retrieve the managing OperationalStringManager for an OperationalString |
OperationalStringManager[] |
getOperationalStringManagers()
This will retrieve an array of OperationalStringManager instances that are managing deployed OperationalString instances. |
boolean |
hasDeployed(String opStringName)
Determine if this ProvisionMonitor has deployed the OperationalString as determined by the name |
boolean |
undeploy(String name)
Undeploy an OperationalString deployed by the ProvisionMonitor. |
| Method Detail |
|---|
Map<String,Throwable> deploy(String opStringLocation)
throws OperationalStringException,
RemoteException
opStringLocation - The location of the OperationalString to deploy
(may also be an OAR, or artifact that resolves to an OAR)
OperationalStringException - If the OperationalString parsing
errors occur
RemoteException - If communication errors happen
Map<String,Throwable> deploy(String opStringLocation,
ServiceProvisionListener listener)
throws OperationalStringException,
RemoteException
opStringLocation - The location of the OperationalString to deploy
(may also be an OAR, or artifact that resolves to an OAR)listener - If not null, the ServiceProvisionListener will be
notified as each service is deployed
OperationalStringException - If OperationalString parsing
errors occur
RemoteException - If communication errors happen
Map<String,Throwable> deploy(URL opStringUrl)
throws OperationalStringException,
RemoteException
opStringUrl - The URL indicating the location of the
OperationalString to deploy
OperationalStringException - If the OperationalString parsing
errors occur
RemoteException - If communication errors happen
Map<String,Throwable> deploy(URL opStringUrl,
ServiceProvisionListener listener)
throws OperationalStringException,
RemoteException
opStringUrl - The URL indicating the location of the
OperationalString to deploylistener - If not null, the ServiceProvisionListener will be
notified as each service is deployed
OperationalStringException - If OperationalString parsing
errors occur
RemoteException - If communication errors happen
Map<String,Throwable> deploy(OperationalString opstring)
throws OperationalStringException,
RemoteException
opstring - The OperationalString to deploy
OperationalStringException - If the OperationalString parsing
errors occur
RemoteException - If communication errors happen
Map<String,Throwable> deploy(OperationalString opstring,
ServiceProvisionListener listener)
throws OperationalStringException,
RemoteException
opstring - The OperationalString to deploylistener - If not null, the ServiceProvisionListener will be
notified as each service is deployed
OperationalStringException - if the the entire deployment fails
RemoteException - If communication errors happen
boolean undeploy(String name)
throws OperationalStringException,
RemoteException
ServiceElement.ProvisionType.DYNAMIC or
ServiceElement.ProvisionType.FIXED
will be terminated. If any deployment request or redeployment requests
are pending for the OperationalString(s) being undeployed, these
requests will be cancelled
name - The name of the OperationalString or directory to
undeploy
OperationalStringException - If the OperationalString does not
exist
RemoteException - If communication errors occur
boolean hasDeployed(String opStringName)
throws RemoteException
opStringName - The name of the OperationalString
RemoteException - If communication errors happen
OperationalStringManager[] getOperationalStringManagers()
throws RemoteException
RemoteException - If communication errors happen
OperationalStringManager getOperationalStringManager(String name)
throws OperationalStringException,
RemoteException
name - The name of the OperationalString
OperationalStringException - If an OperationalStringManager can not
be found to the OperationalString
RemoteException - If communication errors happen
|
Copyright © Rio Project. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||