Home » apache-openwebbeans-1.0.0-incubating-M3-sources » org.apache.webbeans.plugins » [javadoc | source]
org.apache.webbeans.plugins
public interface: OpenWebBeansEjbPlugin [javadoc | source]

All Implemented Interfaces:
    OpenWebBeansPlugin

All Known Implementing Classes:
    EjbPlugin

Session bean related plugin contract.
Method from org.apache.webbeans.plugins.OpenWebBeansEjbPlugin Summary:
defineSessionBean,   getSessionBeanProxy,   isSessionBean,   isSingletonBean,   isStatefulBean,   isStatelessBean
Method from org.apache.webbeans.plugins.OpenWebBeansEjbPlugin Detail:
 public Bean<T> defineSessionBean(Class<T> clazz)
    Configures session bean and adds it into the container.
 public Object getSessionBeanProxy(Bean<?> bean,
    Class<?> iface)
    Returns session bean proxy.
 public boolean isSessionBean(Class<?> clazz)
    Returns true if class is an session bean class false otherwise
 public boolean isSingletonBean(Class<?> clazz)
    Returns true if given class is singleton session bean, false otherwise.
 public boolean isStatefulBean(Class<?> clazz)
    Returns true if given class is stateful session bean, false otherwise.
 public boolean isStatelessBean(Class<?> clazz)
    Returns true if given class is stateless session bean, false otherwise.