Method Summary |
|
public static long | getInterfaceHash(Class cls) Calculates RMI interface hash
as specified in Chapter 8.3 of RMI Specification.
Parameters: cls - Class to calculate RMI hash for. |
public static long | getInterfaceHash(SortedMap methodMap) Calculates RMI interface hash
as specified in Chapter 8.3 of RMI Specification.
Parameters: methodMap - Map containing methods of the class to calculate hash for. |
public static long | getMethodHash(Method method) Calculates RMI method hash
as specified in Chapter 8.3 of RMI Specification.
Parameters: method - Method to calculate RMI hash for. |
public static SortedMap | getSortedMethodMap(Method[] methods) Moves methods from the specified array to the newly created map
sorting them properly for RMI interface hash calculation.
Parameters: methods - Methods to sort. |
public static SortedMap | getSortedMethodMap(SortedMap methodMap, Method[] methods) Adds methods from the specified array to the specified map
sorting them properly for RMI interface hash calculation.
Parameters: methodMap - Map to store sorted methods to. Parameters: methods - Methods to sort. |