Interface ManagedObjectExecuteContext<F extends Enum<F>>


public interface ManagedObjectExecuteContext<F extends Enum<F>>

Context that the ManagedObject is to execute within.

In invoking processes the following should be taken into account:

  1. The Flow (process) will be instigated in a new ProcessState which for example will cause new ManagedObject dependencies to be instantiated.
  2. The ManagedObject passed to the invocation will go through a full life-cycle so be careful passing in an existing initialised ManagedObject. For example the AsynchronousContext instance will be overwritten which will likely cause live-lock as the AsynchronousContext.complete(net.officefloor.frame.api.managedobject.AsynchronousOperation) will notify on the wrong ManagedObjectContainer.
Author:
Daniel Sagenschneider