JBoss Common Classes 2.2.17.GA

org.jboss.net.sockets
Class MethodHash

java.lang.Object
  extended by org.jboss.net.sockets.MethodHash

public class MethodHash
extends Object


Constructor Summary
MethodHash()
           
 
Method Summary
static long calculateHash(Method method)
           
static Map getInterfaceHashes(Class intf)
          Calculate method hashes.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MethodHash

public MethodHash()
Method Detail

getInterfaceHashes

public static Map getInterfaceHashes(Class intf)
Calculate method hashes. This algo is taken from RMI.

Parameters:
intf -
Returns:
the map

calculateHash

public static long calculateHash(Method method)

JBoss Common Classes 2.2.17.GA

Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.