public class TransparentActivationSupport extends java.lang.Object implements ConfigurationItem
TransparentPersistenceSupport| Constructor and Description |
|---|
TransparentActivationSupport() |
| Modifier and Type | Method and Description |
|---|---|
protected static ActivationDepthProvider |
activationProvider(InternalObjectContainer container) |
void |
apply(InternalObjectContainer container)
Configures the just opened ObjectContainer by setting event listeners,
which will be triggered when activation or de-activation is required.
|
static boolean |
isTransparentActivationEnabledOn(InternalObjectContainer container) |
void |
prepare(Configuration configuration)
Gives a chance for the item to augment the configuration.
|
public void prepare(Configuration configuration)
ConfigurationItemprepare in interface ConfigurationItemconfiguration - the configuration that the item was added topublic void apply(InternalObjectContainer container)
apply in interface ConfigurationItemcontainer - the ObjectContainer to configureTransparentPersistenceSupport.apply(InternalObjectContainer)public static boolean isTransparentActivationEnabledOn(InternalObjectContainer container)
protected static ActivationDepthProvider activationProvider(InternalObjectContainer container)