com.resilientedge.jockey.servicebridge
Class ServiceManagerBridge
java.lang.Object
|
+--com.resilientedge.jockey.servicebridge.ServiceManagerBridge
- public class ServiceManagerBridge
- extends java.lang.Object
Bridges between service api and the service providers ( in the SBAPI )
- Version:
- $Revision: 1.1.1.1 $
- Author:
- AVaughan
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getInstance
public static ServiceManagerBridge getInstance()
- Singleton acces to the bridge
getProvidedServices
public java.util.Vector getProvidedServices()
- Returns a container of ServiceDescriptor instances referring to
the services this manager knows about
- See Also:
ServiceDescriptor
getService
public ServiceProxy getService(ServiceDescriptor descriptor)
- Returns a serviceProxy for a given ServiceDescriptor.
- Returns:
-
invoke
public ServiceResponse invoke(ServiceProxy proxy,
ServiceCall call,
int timeout)
invoke
a method on this service
- Parameters:
proxy
- a ServiceProxy
that represents
the service that is providing the methodscall
- a ServiceCall
value that
has the data for the mothod call.timeout
- an int
value- Returns:
- a
ServiceResponse
value that
the service returns
Copyright © 2001 Resilient Edge, Inc. All Rights Reserved.