org.openejb.dispatch
Class MethodHelper

java.lang.Object
  extended byorg.openejb.dispatch.MethodHelper

public final class MethodHelper
extends Object

Helper methods to deal with the whack handeling of indexes in cglib MethodProxy objects.

Version:
$Revision: 1.2 $ $Date: 2004/03/21 21:26:34 $

Method Summary
static Map getHomeMethodMap(MethodSignature[] signatures, Class homeClass)
           
static Map getMethodMap(EJBInterfaceType type, MethodSignature[] signatures, Class interfaceClass)
           
static Map getObjectMethodMap(MethodSignature[] signatures, Class objectClass)
           
static int getSuperIndex(Class proxyType, Method method)
           
static int getSuperIndex(Class proxyImpl, MethodSignature signature)
           
static MethodSignature[] translateToHome(MethodSignature[] signatures)
           
static InterfaceMethodSignature translateToInterface(MethodSignature signature)
           
static MethodSignature[] translateToObject(MethodSignature[] signatures)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getSuperIndex

public static int getSuperIndex(Class proxyImpl,
                                MethodSignature signature)
                         throws ClassNotFoundException
Throws:
ClassNotFoundException

getSuperIndex

public static int getSuperIndex(Class proxyType,
                                Method method)

getMethodMap

public static Map getMethodMap(EJBInterfaceType type,
                               MethodSignature[] signatures,
                               Class interfaceClass)

getHomeMethodMap

public static Map getHomeMethodMap(MethodSignature[] signatures,
                                   Class homeClass)

getObjectMethodMap

public static Map getObjectMethodMap(MethodSignature[] signatures,
                                     Class objectClass)

translateToHome

public static MethodSignature[] translateToHome(MethodSignature[] signatures)

translateToObject

public static MethodSignature[] translateToObject(MethodSignature[] signatures)

translateToInterface

public static InterfaceMethodSignature translateToInterface(MethodSignature signature)


Copyright © 1999-2005 OpenEJB. All Rights Reserved.