Package com.db4o.internal.activation
Class TransparentActivationDepthProviderImpl
- java.lang.Object
- 
- com.db4o.internal.activation.TransparentActivationDepthProviderImpl
 
- 
- All Implemented Interfaces:
- ActivationDepthProvider,- TransparentActivationDepthProvider
 
 public class TransparentActivationDepthProviderImpl extends java.lang.Object implements ActivationDepthProvider, TransparentActivationDepthProvider 
- 
- 
Field SummaryFields Modifier and Type Field Description boolean_transparentPersistenceIsEnabled
 - 
Constructor SummaryConstructors Constructor Description TransparentActivationDepthProviderImpl()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ActivationDepthactivationDepth(int depth, ActivationMode mode)Returns an ActivationDepth that will activate at most *depth* levels.ActivationDepthactivationDepthFor(ClassMetadata classMetadata, ActivationMode mode)Returns an ActivationDepth suitable for the specified class and activation mode.voidaddModified(java.lang.Object object, Transaction transaction)voidenableTransparentPersistenceSupportFor(InternalObjectContainer container, RollbackStrategy rollbackStrategy)voidremoveModified(java.lang.Object object, Transaction transaction)protected TransactiontransactionFrom(EventArgs args)
 
- 
- 
- 
Method Detail- 
activationDepthpublic ActivationDepth activationDepth(int depth, ActivationMode mode) Description copied from interface:ActivationDepthProviderReturns an ActivationDepth that will activate at most *depth* levels. A special case is Integer.MAX_VALUE (int.MaxValue for .net) for which a FullActivationDepth object must be returned.- Specified by:
- activationDepthin interface- ActivationDepthProvider
- Returns:
 
 - 
activationDepthForpublic ActivationDepth activationDepthFor(ClassMetadata classMetadata, ActivationMode mode) Description copied from interface:ActivationDepthProviderReturns an ActivationDepth suitable for the specified class and activation mode.- Specified by:
- activationDepthForin interface- ActivationDepthProvider
- Parameters:
- classMetadata- root class that's being activated
- mode- activation mode
- Returns:
- an appropriate ActivationDepth for the class and activation mode
 
 - 
enableTransparentPersistenceSupportForpublic void enableTransparentPersistenceSupportFor(InternalObjectContainer container, RollbackStrategy rollbackStrategy) - Specified by:
- enableTransparentPersistenceSupportForin interface- TransparentActivationDepthProvider
 
 - 
transactionFromprotected Transaction transactionFrom(EventArgs args) 
 - 
addModifiedpublic void addModified(java.lang.Object object, Transaction transaction)- Specified by:
- addModifiedin interface- TransparentActivationDepthProvider
 
 - 
removeModifiedpublic void removeModified(java.lang.Object object, Transaction transaction)- Specified by:
- removeModifiedin interface- TransparentActivationDepthProvider
 
 
- 
 
-