Package com.db4o.internal.activation
Interface ActivationDepthProvider
-
- All Known Subinterfaces:
TransparentActivationDepthProvider
- All Known Implementing Classes:
LegacyActivationDepthProvider,TransparentActivationDepthProviderImpl
public interface ActivationDepthProviderFactory for ActivationDepth strategies.
-
-
Method Summary
All Methods Instance Methods Abstract 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.
-
-
-
Method Detail
-
activationDepthFor
ActivationDepth activationDepthFor(ClassMetadata classMetadata, ActivationMode mode)
Returns an ActivationDepth suitable for the specified class and activation mode.- Parameters:
classMetadata- root class that's being activatedmode- activation mode- Returns:
- an appropriate ActivationDepth for the class and activation mode
-
activationDepth
ActivationDepth activationDepth(int depth, ActivationMode mode)
Returns 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.- Parameters:
depth-mode-- Returns:
-
-