org.ow2.bonita.util
Class EJBUtil

java.lang.Object
  extended by org.ow2.bonita.util.EJBUtil

public final class EJBUtil
extends java.lang.Object

Util class used by the engine to access EJB2 API Accessor and manage invocation exception

Author:
Thomas Gueze

Field Summary
static APIAccessor EJB2_ACCESSOR
           
 
Method Summary
static APIAccessor getEJB2APIAccessor()
           
static void manageInvokeExceptionCause(java.lang.reflect.Method m, java.lang.Throwable t)
          Throw the throwable passed if it's an RuntimeException or if it's an exception declared by the method If not, throw nothing and return
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EJB2_ACCESSOR

public static final APIAccessor EJB2_ACCESSOR
Method Detail

getEJB2APIAccessor

public static APIAccessor getEJB2APIAccessor()

manageInvokeExceptionCause

public static void manageInvokeExceptionCause(java.lang.reflect.Method m,
                                              java.lang.Throwable t)
                                       throws BonitaException
Throw the throwable passed if it's an RuntimeException or if it's an exception declared by the method If not, throw nothing and return

Throws:
BonitaException


Copyright © 2008 OW2 Consortium. All Rights Reserved.