|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.rioproject.resources.servicecore.ServiceAdminProxy
org.rioproject.monitor.ProvisionMonitorAdminProxy
public class ProvisionMonitorAdminProxy
A ProvisionMonitorAdminProxy is a proxy for the
ProvisionMonitorAdmin server. This is the object passed to clients of the
ProvisionMonitorAdmin.
| Field Summary |
|---|
| Fields inherited from class org.rioproject.resources.servicecore.ServiceAdminProxy |
|---|
serviceAdmin, uuid |
| 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 location)
Deploy an OperationalString to the ProvisionMonitor. |
Map<String,Throwable> |
deploy(String location,
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. |
ProvisionMonitor.PeerInfo[] |
getBackupInfo()
Get the ProvisionMonitor instances that are being backed up |
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 opStringName)
Undeploy an OperationalString deployed by the ProvisionMonitor. |
| Methods inherited from class org.rioproject.resources.servicecore.ServiceAdminProxy |
|---|
addLookupAttributes, addLookupGroups, addLookupLocators, advertise, destroy, equals, getJoinSet, getLookupAttributes, getLookupGroups, getLookupLocators, getReferentUuid, getServiceBeanInstantiatorUuid, getServiceElement, getUpTime, hashCode, modifyLookupAttributes, removeLookupGroups, removeLookupLocators, setLookupGroups, setLookupLocators, setServiceElement, start, stop, unadvertise |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.rioproject.resources.servicecore.ServiceAdmin |
|---|
getJoinSet |
| Methods inherited from interface org.rioproject.core.jsb.ServiceBeanAdmin |
|---|
getServiceBeanInstantiatorUuid, getServiceElement, getUpTime, setServiceElement |
| Methods inherited from interface org.rioproject.jsb.ServiceBeanControl |
|---|
advertise, start, stop, unadvertise |
| Methods inherited from interface net.jini.admin.JoinAdmin |
|---|
addLookupAttributes, addLookupGroups, addLookupLocators, getLookupAttributes, getLookupGroups, getLookupLocators, modifyLookupAttributes, removeLookupGroups, removeLookupLocators, setLookupGroups, setLookupLocators |
| Methods inherited from interface com.sun.jini.admin.DestroyAdmin |
|---|
destroy |
| Method Detail |
|---|
public Map<String,Throwable> deploy(URL opStringURL)
throws OperationalStringException,
RemoteException
DeployAdmin
deploy in interface DeployAdminopStringURL - The URL indicating the location of the
OperationalString to deploy
OperationalStringException - If the OperationalString parsing
errors occur
RemoteException - If communication errors happenDeployAdmin.deploy(java.lang.String)
public Map<String,Throwable> deploy(URL opStringURL,
ServiceProvisionListener listener)
throws OperationalStringException,
RemoteException
DeployAdmin
deploy in interface DeployAdminopStringURL - 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 happenDeployAdmin.deploy(java.lang.String)
public Map<String,Throwable> deploy(String location)
throws OperationalStringException,
RemoteException
DeployAdmin
deploy in interface DeployAdminlocation - 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 happenDeployAdmin.deploy(java.lang.String)
public Map<String,Throwable> deploy(String location,
ServiceProvisionListener listener)
throws OperationalStringException,
RemoteException
DeployAdmin
deploy in interface DeployAdminlocation - 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 happenDeployAdmin.deploy(java.lang.String)
public Map<String,Throwable> deploy(OperationalString opString)
throws OperationalStringException,
RemoteException
DeployAdmin
deploy in interface DeployAdminopString - The OperationalString to deploy
OperationalStringException - If the OperationalString parsing
errors occur
RemoteException - If communication errors happenDeployAdmin.deploy(java.lang.String)
public Map<String,Throwable> deploy(OperationalString opString,
ServiceProvisionListener listener)
throws OperationalStringException,
RemoteException
DeployAdmin
deploy in interface DeployAdminopString - 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 happenDeployAdmin.deploy(java.lang.String)
public boolean undeploy(String opStringName)
throws OperationalStringException,
RemoteException
DeployAdminServiceElement.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
undeploy in interface DeployAdminopStringName - The name of the OperationalString or directory to
undeploy
OperationalStringException - If the OperationalString does not
exist
RemoteException - If communication errors occurDeployAdmin.undeploy(java.lang.String)
public boolean hasDeployed(String opStringName)
throws RemoteException
DeployAdmin
hasDeployed in interface DeployAdminopStringName - The name of the OperationalString
RemoteException - If communication errors happenDeployAdmin.hasDeployed(java.lang.String)
public OperationalStringManager[] getOperationalStringManagers()
throws RemoteException
DeployAdmin
getOperationalStringManagers in interface DeployAdminRemoteException - If communication errors happenDeployAdmin.getOperationalStringManagers()
public OperationalStringManager getOperationalStringManager(String name)
throws OperationalStringException,
RemoteException
DeployAdmin
getOperationalStringManager in interface DeployAdminname - The name of the OperationalString
OperationalStringException - If an OperationalStringManager can not
be found to the OperationalString
RemoteException - If communication errors happen
public ProvisionMonitor.PeerInfo[] getBackupInfo()
throws RemoteException
ProvisionMonitorAdmin
getBackupInfo in interface ProvisionMonitorAdminRemoteException - if there are communication errors
|
Copyright © Rio Project. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||