com.db4o.ta
Class TransparentPersistenceSupport
java.lang.Object
com.db4o.ta.TransparentPersistenceSupport
- All Implemented Interfaces:
- ConfigurationItem
public class TransparentPersistenceSupport
- extends java.lang.Object
- implements ConfigurationItem
Enables the Transparent Update and Transparent Activation behaviors.
Method Summary |
void |
apply(com.db4o.internal.InternalObjectContainer container)
Gives a chance for the item to configure the just opened ObjectContainer. |
void |
prepare(Configuration configuration)
Gives a chance for the item to augment the configuration. |
void |
rollback(ObjectContainer container,
java.lang.Object obj)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TransparentPersistenceSupport
public TransparentPersistenceSupport(RollbackStrategy rollbackStrategy)
TransparentPersistenceSupport
public TransparentPersistenceSupport()
apply
public void apply(com.db4o.internal.InternalObjectContainer container)
- Description copied from interface:
ConfigurationItem
- Gives a chance for the item to configure the just opened ObjectContainer.
- Specified by:
apply
in interface ConfigurationItem
- Parameters:
container
- the ObjectContainer to configure
prepare
public void prepare(Configuration configuration)
- Description copied from interface:
ConfigurationItem
- Gives a chance for the item to augment the configuration.
- Specified by:
prepare
in interface ConfigurationItem
- Parameters:
configuration
- the configuration that the item was added to
rollback
public void rollback(ObjectContainer container,
java.lang.Object obj)
Copyright 2007 db4objects Inc. All rights reserved.