org.resilientedge.jockey.service
Class ServiceManager
java.lang.Object
|
+--org.resilientedge.jockey.service.ServiceManager
- Direct Known Subclasses:
- ServiceManagerImpl
- public class ServiceManager
- extends java.lang.Object
Provides a central point for the location of a service (local or remote)
- Version:
- $Revision: 1.1.1.1 $
- Author:
- John Gardner
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServiceManager
public ServiceManager()
getService
public ServiceProxy getService(ServiceDescriptor service)
- Locates a service locally given the service descriptor as criteria
- Parameters:
service
- Description of Parameter- Returns:
- The Service value
getProvidedServices
public java.util.Vector getProvidedServices()
findServiceAt
public ServiceProxy findServiceAt(PeerToken peer,
java.lang.String attributeType,
java.lang.Object attributeValue)
- Locates a service locally given the peer, attribute type, and value as
criteria.
- Parameters:
peer
- Description of ParameterattributeType
- Description of ParameterattributeValue
- Description of Parameter- Returns:
- Description of the Returned Value
findServiceAt
public ServiceProxy findServiceAt(PeerGroupToken group,
java.lang.String attributeType,
java.lang.Object attributeValue)
- Locates a service locally given the peer group, attribute type, and value
as criteria
- Parameters:
group
- Description of ParameterattributeType
- Description of ParameterattributeValue
- Description of Parameter- Returns:
- Description of the Returned Value
getInstance
public static ServiceManager getInstance()
- Returns the singleton instance of the service manager
- Returns:
- The Instance value
Copyright © 2001 Resilient Edge, Inc. All Rights Reserved.