jgroup.core.registry
Interface DependableRegistry.RegistryEntry

All Superinterfaces:
java.io.Externalizable, java.io.Serializable
All Known Implementing Classes:
BasicJeriRegistryEntry, JeriRegistryEntry
Enclosing interface:
DependableRegistry

public static interface DependableRegistry.RegistryEntry
extends java.io.Externalizable

This interface must be implemented by all types that needs to be stored in a dependable registry.


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.
 
Methods inherited from interface java.io.Externalizable
readExternal, writeExternal
 

Method Detail

getType

java.lang.String getType()
Returns the entry type. An DependableRegistry implementation must check the returned value to see if it can handle it.

Returns:
a java.lang.String representing the entry type.

createInvocationHandler

java.lang.reflect.InvocationHandler createInvocationHandler(java.lang.String serviceName,
                                                            java.util.Iterator entries)
                                                            throws java.rmi.RemoteException
Returns an invocation handler of the given RegistryEntry type, for the given serviceName. The handler will include all entries enumerated from the provided iterator.

Throws:
java.rmi.RemoteException


Copyright © 1998-2006 The Jgroup/ARM development team. All Rights Reserved.