db4o 7.4

com.db4o.activation
Interface Activator


public interface Activator

Activator interface.


Activatable objects need to have a reference to an Activator implementation, which is called by Transparent Activation, when a request is received to activate the host object.

See Also:
Transparent Activation framework.

Method Summary
 void activate(ActivationPurpose purpose)
          Method to be called to activate the host object.
 

Method Detail

activate

void activate(ActivationPurpose purpose)
Method to be called to activate the host object.

Parameters:
purpose - for which purpose is the object being activated? ActivationPurpose.WRITE will cause the object to be saved on the next ObjectContainer.commit() operation.

db4o 7.4

Copyright 2007 db4objects Inc. All rights reserved.