org.ow2.jonas.cdi.weld.internal.ejb
Class EZBSessionObjectReference<BeanType extends org.ow2.easybeans.api.bean.EasyBeansSB<BeanType>>
java.lang.Object
org.ow2.jonas.cdi.weld.internal.ejb.EZBSessionObjectReference<BeanType>
- All Implemented Interfaces:
- Serializable, org.jboss.weld.ejb.api.SessionObjectReference
- Direct Known Subclasses:
- SFSBObjectReference
public class EZBSessionObjectReference<BeanType extends org.ow2.easybeans.api.bean.EasyBeansSB<BeanType>>
- extends Object
- implements org.jboss.weld.ejb.api.SessionObjectReference
This class is a reference to a session object in the EJB container
- Author:
- Loic Albertin
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EZBSessionObjectReference
public EZBSessionObjectReference(org.ow2.easybeans.container.session.SessionFactory<BeanType> factory)
getBusinessObject
public <S> S getBusinessObject(Class<S> businessInterfaceType)
- Specified by:
getBusinessObject in interface org.jboss.weld.ejb.api.SessionObjectReference
remove
public void remove()
- Specified by:
remove in interface org.jboss.weld.ejb.api.SessionObjectReference
isRemoved
public boolean isRemoved()
- Specified by:
isRemoved in interface org.jboss.weld.ejb.api.SessionObjectReference
getFactory
protected org.ow2.easybeans.container.session.SessionFactory<BeanType> getFactory()
- Returns:
- The
SessionFactory
getSessionContext
protected org.ow2.easybeans.container.session.EasyBeansSessionContext<org.ow2.easybeans.container.session.SessionFactory<BeanType>> getSessionContext()
- Returns:
- The
EasyBeansSessionContext
Copyright © 2012 OW2 Consortium. All Rights Reserved.