The basic idea for this initial TA implementation is very simple:
The basic sequence of actions to get this scheme to work is the following:
TransparentActivationSupport
has to be
registered with the db4o configuration.On the object level an object has to
implement the Activatable/IActivatable
interface and provide the according
bind(activator)
method. The default implementation of the
bind method will simply store the given activator
reference for later use.activate()/Activate()
at the
beginning of the message body. The activate()/Activate()
method will check
whether the object is already activated. If this is not the case, it will
request the container to activate the object to level 1 and set the activated
flag accordingly.Please, remember that the current implementation is subject to change in the next versions.