org.ow2.jonas.lib.ejb21.ha
Class JRepStatefulLocalHome
java.lang.Object
org.ow2.jonas.lib.ejb21.JLocalHome
org.ow2.jonas.lib.ejb21.JSessionLocalHome
org.ow2.jonas.lib.ejb21.ha.JRepStatefulLocalHome
- All Implemented Interfaces:
- EJBLocalHome
public abstract class JRepStatefulLocalHome
- extends JSessionLocalHome
Generic part of the EJBLocalHome implementation for replicated SFSBs
- Author:
- Francisco Perez-Sorrosal (fpsorrosal@no-spam@fi.upm.es), Alberto Paz-Jimenez (apaz@no-spam@fi.upm.es)
Field Summary |
protected static org.objectweb.util.monolog.api.Logger |
cmilogger
Logger for traces |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
cmilogger
protected static org.objectweb.util.monolog.api.Logger cmilogger
- Logger for traces
JRepStatefulLocalHome
public JRepStatefulLocalHome(SessionDesc dd,
JSessionFactory bf)
- constructor
- Parameters:
dd
- The Session Deployment Descriptorbf
- The Session Factory
- Throws:
Exception
replicateCreate
protected void replicateCreate(JStatefulSwitch sfsw)
- Called if we have to replicate a request
- Parameters:
rctx
- The RequestCtx that was returned at preInvoke()
getBeanFactory
protected BeanFactory getBeanFactory()
createLocalObject
public abstract JSessionLocal createLocalObject()
- Creates the EJBLocalObject This is in the generated class because it is
mainly "new objectClass()"
- Specified by:
createLocalObject
in class JSessionLocalHome
- Returns:
- The Local Object
Copyright © 2010 OW2 Consortium. All Rights Reserved.