org.jboss.messaging.core.transaction.impl
Class ResourceManagerImpl
java.lang.Object
org.jboss.messaging.core.transaction.impl.ResourceManagerImpl
- All Implemented Interfaces:
- ResourceManager
public class ResourceManagerImpl
- extends java.lang.Object
- implements ResourceManager
A ResourceManagerImpl
TODO - implement timeouts
- Author:
- Tim Fox
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResourceManagerImpl
public ResourceManagerImpl(int defaultTimeoutSeconds)
getTransaction
public Transaction getTransaction(javax.transaction.xa.Xid xid)
- Specified by:
getTransaction
in interface ResourceManager
putTransaction
public boolean putTransaction(javax.transaction.xa.Xid xid,
Transaction tx)
- Specified by:
putTransaction
in interface ResourceManager
removeTransaction
public boolean removeTransaction(javax.transaction.xa.Xid xid)
- Specified by:
removeTransaction
in interface ResourceManager
getTimeoutSeconds
public int getTimeoutSeconds()
- Specified by:
getTimeoutSeconds
in interface ResourceManager
setTimeoutSeconds
public boolean setTimeoutSeconds(int timeoutSeconds)
- Specified by:
setTimeoutSeconds
in interface ResourceManager
Copyright © 2006 JBoss Inc. All Rights Reserved.