bitronix.tm
Class BitronixTransactionSynchronizationRegistryObjectFactory
java.lang.Object
bitronix.tm.BitronixTransactionSynchronizationRegistryObjectFactory
- All Implemented Interfaces:
- ObjectFactory
public class BitronixTransactionSynchronizationRegistryObjectFactory
- extends Object
- implements ObjectFactory
BitronixTransactionSynchronizationRegistry
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 synchronization registry per VM instance, this method always returns a reference
to the unique BitronixTransactionSynchronizationRegistry object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BitronixTransactionSynchronizationRegistryObjectFactory
public BitronixTransactionSynchronizationRegistryObjectFactory()
getObjectInstance
public Object getObjectInstance(Object obj,
Name name,
Context nameCtx,
Hashtable<?,?> environment)
throws Exception
- Since there can be only one synchronization registry per VM instance, this method always returns a reference
to the unique BitronixTransactionSynchronizationRegistry object.
- Specified by:
getObjectInstance
in interface ObjectFactory
- Returns:
- the unique synchronization registry instance.
- Throws:
Exception
- See Also:
BitronixTransactionSynchronizationRegistry
Copyright © 2006-2013 Bitronix Software. All Rights Reserved.