com.sun.ejb.containers
Class InvocationHandlerUtil
java.lang.Object
com.sun.ejb.containers.InvocationHandlerUtil
public final class InvocationHandlerUtil
- extends java.lang.Object
|
Method Summary |
static java.lang.Object |
invokeJavaObjectMethod(java.lang.reflect.InvocationHandler handler,
java.lang.reflect.Method method,
java.lang.Object[] args)
|
static boolean |
isDeclaredException(java.lang.Throwable t,
java.lang.Class[] declaredExceptions)
|
static void |
throwLocalException(java.lang.Throwable t,
java.lang.Class[] declaredExceptions)
|
static void |
throwRemoteException(java.lang.Throwable t,
java.lang.Class[] declaredExceptions)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
invokeJavaObjectMethod
public static java.lang.Object invokeJavaObjectMethod(java.lang.reflect.InvocationHandler handler,
java.lang.reflect.Method method,
java.lang.Object[] args)
throws EJBException
- Throws:
EJBException
isDeclaredException
public static boolean isDeclaredException(java.lang.Throwable t,
java.lang.Class[] declaredExceptions)
throwLocalException
public static void throwLocalException(java.lang.Throwable t,
java.lang.Class[] declaredExceptions)
throws java.lang.Throwable
- Throws:
java.lang.Throwable
throwRemoteException
public static void throwRemoteException(java.lang.Throwable t,
java.lang.Class[] declaredExceptions)
throws java.lang.Throwable
- Throws:
java.lang.Throwable
Copyright © 2012 GlassFish Community. All Rights Reserved.