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: 445441 $ $Date: 2005-05-08 21:37:15 +0200 (Sun, 08 May 2005) $

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)

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-2006 OpenEJB. All Rights Reserved.