jgroup.relacs.gmi
Class MethodTable

java.lang.Object
  extended by jgroup.relacs.gmi.MethodTable
All Implemented Interfaces:
java.io.Serializable, java.lang.Iterable<MethodDetails>

public class MethodTable
extends java.lang.Object
implements java.io.Serializable, java.lang.Iterable<MethodDetails>

Table mapping a method (represented by a hash of the method or by a Method object) to its MethodDetails object. The mapping from Method objects will only be populated on the client-side since those are only used there.

Since:
Jgroup 3.0
Author:
Hein Meling
See Also:
Serialized Form

Constructor Summary
MethodTable()
           
 
Method Summary
 void addMethods(java.lang.Object server)
          Add remote methods implemented by the given server to this method table.
 MethodDetails get(long hash)
          Get the method details associated with the given hash value.
 MethodDetails get(java.lang.reflect.Method m)
          Return the method details object associated with the given method.
 java.util.Iterator<MethodDetails> iterator()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MethodTable

public MethodTable()
Method Detail

addMethods

public void addMethods(java.lang.Object server)
Add remote methods implemented by the given server to this method table. All methods defined in a Remote interface will be added, and their associated invocation semantics details will be computed.


get

public MethodDetails get(long hash)
Get the method details associated with the given hash value.


get

public MethodDetails get(java.lang.reflect.Method m)
Return the method details object associated with the given method.


iterator

public java.util.Iterator<MethodDetails> iterator()
Specified by:
iterator in interface java.lang.Iterable<MethodDetails>

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


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