Package com.db4o.internal.activation
Class ActivatableBase
- java.lang.Object
- 
- com.db4o.internal.activation.ActivatableBase
 
- 
- All Implemented Interfaces:
- Activatable
 
 public abstract class ActivatableBase extends java.lang.Object implements Activatable 
- 
- 
Constructor SummaryConstructors Constructor Description ActivatableBase()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidactivate(ActivationPurpose purpose)Should be called by every reading field access of an object.protected voidactivateForRead()protected voidactivateForWrite()voidbind(Activator activator)Called by db4o after the object instantiation.
 
- 
- 
- 
Method Detail- 
bindpublic void bind(Activator activator) Description copied from interface:ActivatableCalled by db4o after the object instantiation. This method is called to bind the object to the current activator
 
 The recommended implementation of this method is to store the passedActivatorin a transient field of the object.- Specified by:
- bindin interface- Activatable
- Parameters:
- activator- the Activator instance to bind
 
 - 
activatepublic void activate(ActivationPurpose purpose) Description copied from interface:ActivatableShould be called by every reading field access of an object.
 
 The recommended implementation of this method is to callActivator.activate(ActivationPurpose)on theActivatorthat was previously passed toActivatable.bind(Activator).- Specified by:
- activatein interface- Activatable
- Parameters:
- purpose- Whereever this object is accessed to read or write. See- ActivationPurpose
 
 - 
activateForReadprotected void activateForRead() 
 - 
activateForWriteprotected void activateForWrite() 
 
- 
 
-