org.apache.webbeans.ejb.common.util
Class EjbUtility
java.lang.Object
org.apache.webbeans.ejb.common.util.EjbUtility
public final class EjbUtility
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
fireEvents
public static <T> void fireEvents(Class<T> clazz,
BaseEjbBean<T> ejbBean,
javax.enterprise.inject.spi.ProcessAnnotatedType<T> event)
defineSpecializedData
public static <T> void defineSpecializedData(Class<T> clazz,
BaseEjbBean<T> ejbBean)
isBusinessMethod
public static boolean isBusinessMethod(Method method,
BaseEjbBean<?> bean)
- Check if a given Method is a business method of the given enterprise bean.
FIXME: While remote interfaces aren't part of a 299 beans types, method
invocations of non-contextual references (@EJB) to remote interfaces are
business method invocations nonetheless. Not presently accounted for here.
- Parameters:
method - the method of interestbean - the Contextual
- Returns:
- true if the Method could be a business method invocation
Copyright © 2008-2012 The Apache Software Foundation. All Rights Reserved.