|
| Foundation |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
public interface DiscoveryAdminInterface
Interfaces used to manage the addition/removal of services to/from a discovery service and discovery delegates used to locate services.
Discovery delegates must implement
com.sas.services.discovery.FindServiceInterface.
| Method Summary | |
|---|---|
void |
addDiscoveryDelegate(FindServiceInterface findServiceIf)
Adds a discovery delegate that will be used to lookup services. |
void |
addService(RemoteServiceInterface service)
Adds a service. |
java.util.Iterator |
getDiscoverers()
Gets an iterator of the discovery delegates that are used to locate services. |
java.util.Iterator |
getLocalServices()
Gets an iterator of locally available services. |
java.util.Iterator |
getRemoteServices()
Gets an iterator of remotely available services. |
void |
removeDiscoveryDelegate(FindServiceInterface findServiceIf)
Removes a discovery delegate formerly used to locate services. |
void |
removeService(RemoteServiceInterface service)
Removes a services. |
| Method Detail |
|---|
void addDiscoveryDelegate(FindServiceInterface findServiceIf)
throws java.rmi.RemoteException
findServiceIf - Discovery delegate to be used to lookup services.
java.rmi.RemoteException - if a network anomaly is encountered.
void removeDiscoveryDelegate(FindServiceInterface findServiceIf)
throws java.rmi.RemoteException
findServiceIf - Discovery delegate to remove.
java.rmi.RemoteException - if a network anomaly is encountered.
java.util.Iterator getDiscoverers()
throws java.rmi.RemoteException
java.rmi.RemoteException - if a network anomaly is encountered.
void addService(RemoteServiceInterface service)
throws ServiceException,
java.rmi.RemoteException
service - Service that can be discovered via a service template
comprised of its service types and optionally
service attributes.
ServiceException - if unable to cache the service.
java.rmi.RemoteException - if a network anomaly is encountered.
void removeService(RemoteServiceInterface service)
throws java.rmi.RemoteException
service - Service that is to be removed.
java.rmi.RemoteException - if a network anomaly is encountered.
java.util.Iterator getLocalServices()
throws java.rmi.RemoteException
RemoteServiceInterface.
java.rmi.RemoteException - if a network anomaly is encountered.
java.util.Iterator getRemoteServices()
throws java.rmi.RemoteException
RemoteServiceInterface.
java.rmi.RemoteException - if a network anomaly is encountered.
|
| Foundation |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||