jgroup.relacs.gmi
Class BasicJeriRegistryEntry
java.lang.Object
jgroup.relacs.gmi.BasicJeriRegistryEntry
- All Implemented Interfaces:
- java.io.Externalizable, java.io.Serializable, DependableRegistry.RegistryEntry
public class BasicJeriRegistryEntry
- extends java.lang.Object
- implements DependableRegistry.RegistryEntry
The registry entry type required to use the BasicJeriExport
in binding with the dependable registry.
- Author:
- Hein Meling
- See Also:
- Serialized Form
Field Summary |
static java.lang.String |
TYPE
|
Method Summary |
java.lang.reflect.InvocationHandler |
createInvocationHandler(java.lang.String serviceName,
java.util.Iterator entries)
Returns an invocation handler of the given RegistryEntry type,
for the given serviceName. |
java.lang.String |
getType()
Returns the entry type. |
void |
readExternal(java.io.ObjectInput in)
|
void |
writeExternal(java.io.ObjectOutput out)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TYPE
public static final java.lang.String TYPE
- See Also:
- Constant Field Values
BasicJeriRegistryEntry
public BasicJeriRegistryEntry()
- Create empty entry, for externalization
getType
public java.lang.String getType()
- Description copied from interface:
DependableRegistry.RegistryEntry
- Returns the entry type. An
DependableRegistry
implementation must check the returned value to see if it can
handle it.
- Specified by:
getType
in interface DependableRegistry.RegistryEntry
- Returns:
- a
java.lang.String
representing the entry type.
createInvocationHandler
public java.lang.reflect.InvocationHandler createInvocationHandler(java.lang.String serviceName,
java.util.Iterator entries)
throws java.rmi.RemoteException
- Description copied from interface:
DependableRegistry.RegistryEntry
- Returns an invocation handler of the given RegistryEntry type,
for the given serviceName. The handler will include all entries
enumerated from the provided iterator.
- Specified by:
createInvocationHandler
in interface DependableRegistry.RegistryEntry
- Throws:
java.rmi.RemoteException
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
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Specified by:
writeExternal
in interface java.io.Externalizable
- Throws:
java.io.IOException
Copyright © 1998-2006 The Jgroup/ARM development team. All Rights Reserved.