org.apache.hivemind.internal.ser
Interface ServiceSerializationSupport

All Known Implementing Classes:
RegistryInfrastructureImpl

public interface ServiceSerializationSupport

Utility interface used to support serialization of services (really, service proxies).

Since:
1.1
Author:
Howard M. Lewis Ship

Method Summary
 java.lang.Object getServiceFromToken(ServiceToken token)
          Returns the service (proxy) for the indicated token.
 ServiceToken getServiceTokenForService(java.lang.String serviceId)
          Returns a ServiceToken corresponding to the indicated serviceId.
 

Method Detail

getServiceTokenForService

ServiceToken getServiceTokenForService(java.lang.String serviceId)
Returns a ServiceToken corresponding to the indicated serviceId. A ServiceToken takes the place of a service (proxy) during serialization.


getServiceFromToken

java.lang.Object getServiceFromToken(ServiceToken token)
Returns the service (proxy) for the indicated token.



Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.