jrun.transaction
Class TransactionContextCacheImpl
jrunx.kernel.ServiceAdapter
|
+--jrunx.kernel.ServicePartition
|
+--jrunx.kernel.ConfigurableServicePartition
|
+--jrunx.cluster.ClusterableServiceAdapter
|
+--jrun.transaction.TransactionContextCacheImpl
- All Implemented Interfaces:
- ClusterableService, ClusterableServiceAdapterMBean, ClusterConstants, ConfigurableServicePartitionMBean, javax.naming.Referenceable, java.rmi.Remote, java.io.Serializable, Service, ServiceMBean, ServicePartitionMBean, TransactionContextCacheRemote
- public class TransactionContextCacheImpl
- extends ClusterableServiceAdapter
- implements TransactionContextCacheRemote, ClusterableServiceAdapterMBean
- See Also:
- Serialized Form
| Fields inherited from class jrunx.kernel.ServiceAdapter |
DEFAULT_DEACTIVATED, DEFAULT_DOMAIN, DOMAIN_NAME_SEPARATOR, DOMAIN_NAME_SUFFIX, domainName, jndiBindable, LOGGER_CACHE_TIME, SCHEDULER_SERVICE, SECURITY_MANAGER, server, status, TRANSACTION_MANAGER |
|
Method Summary |
void |
enlist(javax.transaction.xa.Xid xid,
java.lang.String name)
|
TransactionContext |
get(javax.transaction.xa.Xid xid)
|
void |
put(TransactionContext transCtx)
|
void |
remove(javax.transaction.xa.Xid xid)
|
void |
start()
Every service other than mere data collections should start |
void |
stop()
Every service other than mere data collections should stop |
void |
update(javax.transaction.xa.Xid xid,
int status)
|
| Methods inherited from class jrunx.cluster.ClusterableServiceAdapter |
addPeerListener, addServersToClients, destroy, getClientSocketFactory, getClusterAlgorithm, getPeers, getPort, getRemoteHostIP, getRemoteHostName, getRemoteServerName, getServerInfo, getServerSocketFactoryClass, init, invoke, isValidPeer, killRemoteServer, numPeers, setClientSocketFactoryClass, setClusterAlgorithm, setPort, setServerSocketFactoryClass, toStub |
| Methods inherited from class jrunx.kernel.ServiceAdapter |
bind, findObjectInstance, findObjectInstance, findObjectInstance, getBindToJNDI, getDeactivated, getDomainName, getDomainSearchPath, getJRunService, getLogger, getName, getParentService, getReference, getResourceManager, getServerName, getServerProperties, getStatus, invokeMethod, isInPartition, isPartition, lookup, postDeregister, postRegister, preDeregister, preRegister, requestServer, scheduleRunnable, setBindToJNDI, setDeactivated, setDomainName, setName, setParentService, toString, unbind, unscheduleRunnable, updateStatus |
| Methods inherited from interface jrunx.kernel.ServiceMBean |
bind, getBindToJNDI, getDeactivated, getDomainName, getJRunService, getLogger, getName, getParentService, getServerName, requestServer, setBindToJNDI, setDeactivated, setDomainName, setName, setParentService, unbind |
OBJECT_NAME
public static java.lang.String OBJECT_NAME
TransactionContextCacheImpl
public TransactionContextCacheImpl(TransactionDomainImpl domain)
get
public TransactionContext get(javax.transaction.xa.Xid xid)
throws java.rmi.RemoteException
- Specified by:
get in interface TransactionContextCacheRemote
start
public void start()
throws java.lang.Exception
- Description copied from class:
ServiceAdapter
- Every service other than mere data collections should start
- Specified by:
start in interface Service- Overrides:
start in class ClusterableServiceAdapter
stop
public void stop()
throws java.lang.Exception
- Description copied from class:
ServiceAdapter
- Every service other than mere data collections should stop
- Specified by:
stop in interface Service- Overrides:
stop in class ClusterableServiceAdapter
put
public void put(TransactionContext transCtx)
throws java.rmi.RemoteException
- Specified by:
put in interface TransactionContextCacheRemote
remove
public void remove(javax.transaction.xa.Xid xid)
throws java.rmi.RemoteException
- Specified by:
remove in interface TransactionContextCacheRemote
update
public void update(javax.transaction.xa.Xid xid,
int status)
throws java.rmi.RemoteException
- Specified by:
update in interface TransactionContextCacheRemote
enlist
public void enlist(javax.transaction.xa.Xid xid,
java.lang.String name)
throws java.rmi.RemoteException
- Specified by:
enlist in interface TransactionContextCacheRemote
Copyright � 2002 Macromedia Corporation. All Rights Reserved.