public class TransparentPersistenceSupport extends TransparentActivationSupport
TransparentActivationSupport| Constructor and Description |
|---|
TransparentPersistenceSupport()
Creates a new instance of TransparentPersistenceSupport class
with no rollback strategies defined.
|
TransparentPersistenceSupport(RollbackStrategy rollbackStrategy)
Creates a new instance of TransparentPersistenceSupport class
|
| Modifier and Type | Method and Description |
|---|---|
void |
apply(InternalObjectContainer container)
Configures current ObjectContainer to support Transparent Activation and Transparent Persistence
|
void |
prepare(Configuration configuration)
Gives a chance for the item to augment the configuration.
|
activationProvider, isTransparentActivationEnabledOnpublic TransparentPersistenceSupport(RollbackStrategy rollbackStrategy)
rollbackStrategy - RollbackStrategy interface implementation, which
defines the actions to be taken on the object when the transaction is rolled back.public TransparentPersistenceSupport()
public void apply(InternalObjectContainer container)
apply in interface ConfigurationItemapply in class TransparentActivationSupportcontainer - the ObjectContainer to configureTransparentActivationSupport.apply(InternalObjectContainer)public void prepare(Configuration configuration)
ConfigurationItemprepare in interface ConfigurationItemprepare in class TransparentActivationSupportconfiguration - the configuration that the item was added to