org.apache.hivemind.internal.ser
Class ServiceToken
java.lang.Object
org.apache.hivemind.internal.ser.ServiceToken
- All Implemented Interfaces:
- java.io.Externalizable, java.io.Serializable
public class ServiceToken
- extends java.lang.Object
- implements java.io.Externalizable
Instance used to replace actual service (proxies) during serialization. Note that this represents
a back-door into HiveMind's RegistryInfrastructure
, which
is less than ideal, and should not be used by end-user code!
- Since:
- 1.1
- Author:
- Howard M. Lewis Ship
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServiceToken
public ServiceToken()
ServiceToken
public ServiceToken(java.lang.String serviceId)
getServiceId
public java.lang.String getServiceId()
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Specified by:
writeExternal
in interface java.io.Externalizable
- Throws:
java.io.IOException
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Specified by:
readExternal
in interface java.io.Externalizable
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.