com.sun.ejb.containers
Class InvocationHandlerUtil

java.lang.Object
  extended by com.sun.ejb.containers.InvocationHandlerUtil

public final class InvocationHandlerUtil
extends Object


Method Summary
static Object invokeJavaObjectMethod(InvocationHandler handler, Method method, Object[] args)
           
static boolean isDeclaredException(Throwable t, Class[] declaredExceptions)
           
static void throwLocalException(Throwable t, Class[] declaredExceptions)
           
static void throwRemoteException(Throwable t, Class[] declaredExceptions)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

invokeJavaObjectMethod

public static Object invokeJavaObjectMethod(InvocationHandler handler,
                                            Method method,
                                            Object[] args)
                                     throws EJBException
Throws:
EJBException

isDeclaredException

public static boolean isDeclaredException(Throwable t,
                                          Class[] declaredExceptions)

throwLocalException

public static void throwLocalException(Throwable t,
                                       Class[] declaredExceptions)
                                throws Throwable
Throws:
Throwable

throwRemoteException

public static void throwRemoteException(Throwable t,
                                        Class[] declaredExceptions)
                                 throws Throwable
Throws:
Throwable


Copyright © 2012 GlassFish Community. All Rights Reserved.