BitronixTransactionSynchronizationRegistryObjectFactory (Bitronix Transaction Manager :: Core 2.1.4 API)
Date: 2013-09-15

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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

Constructor Summary
`BitronixTransactionSynchronizationRegistryObjectFactory()`

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`

Constructor Detail

### BitronixTransactionSynchronizationRegistryObjectFactory

    public BitronixTransactionSynchronizationRegistryObjectFactory()

Method Detail

### 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`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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