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

## org.hibernate.service.jta.platform.internal
Class SynchronizationRegistryBasedSynchronizationStrategy

    java.lang.Object
      org.hibernate.service.jta.platform.internal.SynchronizationRegistryBasedSynchronizationStrategy

All Implemented Interfaces:
  Serializable, JtaSynchronizationStrategy

    public class SynchronizationRegistryBasedSynchronizationStrategy

extends Object
implements JtaSynchronizationStrategy

Implementation of the `JtaSynchronizationStrategy` contract based on using a `TransactionSynchronizationRegistry`

See Also:
  Serialized Form

Constructor Summary
`SynchronizationRegistryBasedSynchronizationStrategy(SynchronizationRegistryAccess synchronizationRegistryAccess)`

Method Summary
`boolean` | `canRegisterSynchronization()` Can a synchronization be registered?
`void` | `registerSynchronization(Synchronization synchronization)` Register a synchronization

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### SynchronizationRegistryBasedSynchronizationStrategy

    public SynchronizationRegistryBasedSynchronizationStrategy(SynchronizationRegistryAccess synchronizationRegistryAccess)

Method Detail

### registerSynchronization

    public void registerSynchronization(Synchronization synchronization)

  Description copied from interface: `JtaSynchronizationStrategy`
  Register a synchronization

  Specified by:
    `registerSynchronization` in interface `JtaSynchronizationStrategy`
  Parameters:
    `synchronization` - The synchronization to register.

### canRegisterSynchronization

    public boolean canRegisterSynchronization()

  Description copied from interface: `JtaSynchronizationStrategy`
  Can a synchronization be registered?

  Specified by:
    `canRegisterSynchronization` in interface `JtaSynchronizationStrategy`
  Returns:
    true/false

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 © 2001-2012 Red Hat, Inc. All Rights Reserved.