bitronix.tm
Class BitronixTransactionManagerObjectFactory
java.lang.Object
bitronix.tm.BitronixTransactionManagerObjectFactory
- All Implemented Interfaces:
- ObjectFactory
- Direct Known Subclasses:
- BitronixUserTransactionObjectFactory
public class BitronixTransactionManagerObjectFactory
- extends Object
- implements ObjectFactory
BitronixTransactionManager
object factory for JNDI references.
- Author:
- lorban
Method Summary |
Object |
getObjectInstance(Object obj,
Name name,
Context nameCtx,
Hashtable<?,?> environment)
Since there can be only one transaction manager per VM instance, this method always returns a reference
to the unique BitronixTransactionManager object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BitronixTransactionManagerObjectFactory
public BitronixTransactionManagerObjectFactory()
getObjectInstance
public Object getObjectInstance(Object obj,
Name name,
Context nameCtx,
Hashtable<?,?> environment)
throws Exception
- Since there can be only one transaction manager per VM instance, this method always returns a reference
to the unique BitronixTransactionManager object.
- Specified by:
getObjectInstance
in interface ObjectFactory
- Returns:
- the unique transaction manager instance.
- Throws:
Exception
- See Also:
BitronixTransactionManager
Copyright © 2006-2013 Bitronix Software. All Rights Reserved.