Class ActivatableBase

  • All Implemented Interfaces:
    Activatable

    public abstract class ActivatableBase
    extends java.lang.Object
    implements Activatable
    • Constructor Detail

      • ActivatableBase

        public ActivatableBase()
    • Method Detail

      • bind

        public void bind​(Activator activator)
        Description copied from interface: Activatable
        Called 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 passed Activator in a transient field of the object.
        Specified by:
        bind in interface Activatable
        Parameters:
        activator - the Activator instance to bind
      • activateForRead

        protected void activateForRead()
      • activateForWrite

        protected void activateForWrite()