org.ow2.jonas.cdi.weld.internal.ejb
Class SFSBObjectReference

java.lang.Object
  extended by org.ow2.jonas.cdi.weld.internal.ejb.EZBSessionObjectReference<org.ow2.easybeans.api.bean.EasyBeansSFSB>
      extended by org.ow2.jonas.cdi.weld.internal.ejb.SFSBObjectReference
All Implemented Interfaces:
Serializable, org.jboss.weld.ejb.api.SessionObjectReference

public class SFSBObjectReference
extends EZBSessionObjectReference<org.ow2.easybeans.api.bean.EasyBeansSFSB>

This class extends EZBSessionObjectReference in order to provides special behaviors for Stateful beans

Author:
Loic Albertin
See Also:
Serialized Form

Constructor Summary
SFSBObjectReference(org.ow2.easybeans.container.session.SessionFactory<org.ow2.easybeans.api.bean.EasyBeansSFSB> factory)
           
 
Method Summary
<S> S
getBusinessObject(Class<S> businessInterfaceType)
           
 boolean isRemoved()
           
 void remove()
           
 
Methods inherited from class org.ow2.jonas.cdi.weld.internal.ejb.EZBSessionObjectReference
getFactory, getSessionContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SFSBObjectReference

public SFSBObjectReference(org.ow2.easybeans.container.session.SessionFactory<org.ow2.easybeans.api.bean.EasyBeansSFSB> factory)
Method Detail

getBusinessObject

public <S> S getBusinessObject(Class<S> businessInterfaceType)
Specified by:
getBusinessObject in interface org.jboss.weld.ejb.api.SessionObjectReference
Overrides:
getBusinessObject in class EZBSessionObjectReference<org.ow2.easybeans.api.bean.EasyBeansSFSB>

isRemoved

public boolean isRemoved()
Specified by:
isRemoved in interface org.jboss.weld.ejb.api.SessionObjectReference
Overrides:
isRemoved in class EZBSessionObjectReference<org.ow2.easybeans.api.bean.EasyBeansSFSB>

remove

public void remove()
Specified by:
remove in interface org.jboss.weld.ejb.api.SessionObjectReference
Overrides:
remove in class EZBSessionObjectReference<org.ow2.easybeans.api.bean.EasyBeansSFSB>


Copyright © 2012 OW2 Consortium. All Rights Reserved.