bitronix.tm
Class BitronixTransactionSynchronizationRegistryObjectFactory

java.lang.Object
  extended by bitronix.tm.BitronixTransactionSynchronizationRegistryObjectFactory
All Implemented Interfaces:
javax.naming.spi.ObjectFactory

public class BitronixTransactionSynchronizationRegistryObjectFactory
extends java.lang.Object
implements javax.naming.spi.ObjectFactory

BitronixTransactionSynchronizationRegistry object factory for JNDI references.

Author:
lorban

Constructor Summary
BitronixTransactionSynchronizationRegistryObjectFactory()
           
 
Method Summary
 java.lang.Object getObjectInstance(java.lang.Object obj, javax.naming.Name name, javax.naming.Context nameCtx, java.util.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
 

Constructor Detail

BitronixTransactionSynchronizationRegistryObjectFactory

public BitronixTransactionSynchronizationRegistryObjectFactory()
Method Detail

getObjectInstance

public java.lang.Object getObjectInstance(java.lang.Object obj,
                                          javax.naming.Name name,
                                          javax.naming.Context nameCtx,
                                          java.util.Hashtable<?,?> environment)
                                   throws java.lang.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 javax.naming.spi.ObjectFactory
Returns:
the unique synchronization registry instance.
Throws:
java.lang.Exception
See Also:
BitronixTransactionSynchronizationRegistry


Copyright © 2006-2018 Bitronix Software. All Rights Reserved.