| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jini.rio.resources.servicecore.ServiceAdminImpl
org.jini.rio.monitor.ProvisionMonitorAdminImpl
public class ProvisionMonitorAdminImpl
The ProvisionMonitorAdminImpl class implements the ServiceAdmin interface providing administrative support for ServiceProducer implementations.
| Field Summary | 
|---|
| Fields inherited from class org.jini.rio.resources.servicecore.ServiceAdminImpl | 
|---|
| adminProxy, exporter | 
| Constructor Summary | |
|---|---|
| ProvisionMonitorAdminImpl(ProvisionMonitorImpl service,
                          Exporter exporter)Create a ProvisionMonitorAdminImpl | |
| ProvisionMonitorAdminImpl(ProvisionMonitorImpl service,
                          Exporter exporter,
                          SnapshotHandler snapshotHandler)Create a ProvisionMonitorAdminImpl | |
| Method Summary | |
|---|---|
|  Map | deploy(OperationalString opString)Deploy an OperationalString to the ProvisionMonitor. | 
|  Map | deploy(OperationalString opString,
       ServiceProvisionListener listener)Deploy an OperationalString to the ProvisionMonitor. | 
|  Map | deploy(URL opStringURL)Deploy an OperationalString URL to the ProvisionMonitor. | 
|  Map | 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)This method provides the capability to retrieve an OperationalStringManager for a specific OperationalString | 
|  OperationalStringManager[] | getOperationalStringManagers()This method provides the capability to retrieve an array of OperationalStringManager objects that are currently managing OperationalString instances that have been deployed. | 
|  ServiceAdmin | getServiceAdmin()Override parents getServiceAdmin method | 
|  boolean | hasDeployed(String opStringName)Determine if this ProvisionMonitor has deployed the specified OperationalString as determined by the name | 
|  boolean | undeploy(String opStringName)Undeploy and Remove an OperationalString deployed by the ProvisionMonitor. | 
| Methods inherited from class org.jini.rio.resources.servicecore.ServiceAdminImpl | 
|---|
| addLookupAttributes, addLookupGroups, addLookupLocators, advertise, destroy, getJoinSet, getLookupAttributes, getLookupGroups, getLookupLocators, getServiceElement, getUpTime, modifyLookupAttributes, removeLookupGroups, removeLookupLocators, setLookupGroups, setLookupLocators, setServiceBeanContext, setServiceElement, start, stop, unadvertise, unexport | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Methods inherited from interface org.jini.rio.resources.servicecore.ServiceAdmin | 
|---|
| getJoinSet | 
| Methods inherited from interface org.jini.rio.core.jsb.ServiceBeanAdmin | 
|---|
| getServiceElement, getUpTime, setServiceElement | 
| Methods inherited from interface org.jini.rio.core.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 | 
| Constructor Detail | 
|---|
public ProvisionMonitorAdminImpl(ProvisionMonitorImpl service,
                                 Exporter exporter)
service - Concrete implementation of a ServiceBeanAdapterexporter - The Exporter to export this object
public ProvisionMonitorAdminImpl(ProvisionMonitorImpl service,
                                 Exporter exporter,
                                 SnapshotHandler snapshotHandler)
service - Concrete implementation of a ServiceBeanAdapterexporter - The Exporter to export this objectsnapshotHandler - The service's snapshot handler used for persistence| Method Detail | 
|---|
public ServiceAdmin getServiceAdmin()
                             throws RemoteException
getServiceAdmin in class ServiceAdminImplRemoteException
public Map deploy(URL opStringURL)
           throws OperationalStringException,
                  RemoteException
DeployAdmin
deploy in interface DeployAdminopStringURL - The URL indicating the location of the OperationalString 
 to deploy
OperationalStringException
RemoteException
public Map 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
RemoteException
public Map deploy(OperationalString opString)
           throws OperationalStringException,
                  RemoteException
DeployAdmin
deploy in interface DeployAdminopString - The OperationalString to deploy
OperationalStringException
RemoteException
public Map 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
RemoteException
public boolean undeploy(String opStringName)
                 throws OperationalStringException,
                        RemoteException
DeployAdmin
undeploy in interface DeployAdminopStringName - The name of the OperationalString to remove
OperationalStringException - If the OperationalString does not
 exist
RemoteException - If communication errors occur
public boolean hasDeployed(String opStringName)
                    throws RemoteException
DeployAdmin
hasDeployed in interface DeployAdminopStringName - The name of the OperationalString
RemoteException
public OperationalStringManager[] getOperationalStringManagers()
                                                        throws RemoteException
DeployAdmin
getOperationalStringManagers in interface DeployAdminRemoteException
public OperationalStringManager getOperationalStringManager(String name)
                                                     throws OperationalStringException,
                                                            RemoteException
DeployAdmin
getOperationalStringManager in interface DeployAdminname - The name of the OperationalString
OperationalStringException
RemoteException
public ProvisionMonitor.PeerInfo[] getBackupInfo()
                                          throws RemoteException
ProvisionMonitorAdmin
getBackupInfo in interface ProvisionMonitorAdminRemoteException| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||