org.ow2.jonas.lib.ejb21.ha
Class JRepUtil
java.lang.Object
org.ow2.jonas.lib.ejb21.ha.JRepUtil
public class JRepUtil
- extends Object
This class implements common function for SFSB replication.
- 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 |
Method Summary |
static void |
addEntityBean(EntityContext bctx,
org.ow2.cmi.ha.RequestId rootId)
Adds an entity bean to the beans associated with rootId |
static void |
addRemovedBean(org.ow2.cmi.ha.SessionId clusterOId,
org.ow2.cmi.ha.RequestId rootId)
Adds a bean to the beans associated with rootId marked for remove |
static org.ow2.cmi.ha.ReplicationManager |
getRepMgr()
|
static void |
setRepMgr(org.ow2.cmi.ha.ReplicationManager repMgr)
|
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
JRepUtil
public JRepUtil()
addRemovedBean
public static void addRemovedBean(org.ow2.cmi.ha.SessionId clusterOId,
org.ow2.cmi.ha.RequestId rootId)
- Adds a bean to the beans associated with rootId marked for remove
- Parameters:
clusterOId
- the cluster object idrootId
- the root request id
addEntityBean
public static void addEntityBean(EntityContext bctx,
org.ow2.cmi.ha.RequestId rootId)
- Adds an entity bean to the beans associated with rootId
- Parameters:
bctx
- The entity contextrootId
- the root request id
getRepMgr
public static org.ow2.cmi.ha.ReplicationManager getRepMgr()
setRepMgr
public static void setRepMgr(org.ow2.cmi.ha.ReplicationManager repMgr)
Copyright © 2010 OW2 Consortium. All Rights Reserved.