org.apache.webbeans.config
Class EJBWebBeansConfigurator
java.lang.Object
org.apache.webbeans.config.EJBWebBeansConfigurator
public final class EJBWebBeansConfigurator
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
isSessionBean
public static boolean isSessionBean(Class<?> clazz)
throws WebBeansConfigurationException
- Returns true if given class is an deployed ejb bean class, false otherwise.
- Parameters:
clazz - bean class
- Returns:
- true if given class is an deployed ejb bean class
- Throws:
WebBeansConfigurationException - if any exception occurs
defineEjbBean
public static <T> Bean<T> defineEjbBean(Class<T> clazz,
ProcessAnnotatedType<T> processAnnotatedTypeEvent)
- Returns ejb bean.
- Type Parameters:
T - bean class info- Parameters:
clazz - bean class
- Returns:
- ejb bean
Copyright © 2008-2010 The Apache Software Foundation. All Rights Reserved.