public abstract class ActivatableBase extends java.lang.Object implements Activatable
| Constructor and Description |
|---|
ActivatableBase() |
| Modifier and Type | Method and Description |
|---|---|
void |
activate(ActivationPurpose purpose)
should be called by every reading field access of an object.
|
protected void |
activateForRead() |
protected void |
activateForWrite() |
void |
bind(Activator activator)
called by db4o upon instantiation.
|
public void bind(Activator activator)
ActivatableActivator in a transient field of the object.bind in interface Activatableactivator - the Activatorpublic void activate(ActivationPurpose purpose)
ActivatableActivator.activate(ActivationPurpose) on the Activator
that was previously passed to Activatable.bind(Activator).activate in interface Activatablepurpose - TODOprotected void activateForRead()
protected void activateForWrite()