public class LegacyActivationDepthProvider extends java.lang.Object implements ActivationDepthProvider
| Modifier and Type | Field and Description |
|---|---|
static ActivationDepthProvider |
INSTANCE |
| Constructor and Description |
|---|
LegacyActivationDepthProvider() |
| Modifier and Type | Method and Description |
|---|---|
ActivationDepth |
activationDepth(int depth,
ActivationMode mode)
Returns an ActivationDepth that will activate at most *depth* levels.
|
ActivationDepth |
activationDepthFor(ClassMetadata classMetadata,
ActivationMode mode)
Returns an ActivationDepth suitable for the specified class and activation mode.
|
public static final ActivationDepthProvider INSTANCE
public ActivationDepth activationDepthFor(ClassMetadata classMetadata, ActivationMode mode)
ActivationDepthProvideractivationDepthFor in interface ActivationDepthProviderclassMetadata - root class that's being activatedmode - activation modepublic ActivationDepth activationDepth(int depth, ActivationMode mode)
ActivationDepthProvideractivationDepth in interface ActivationDepthProvider