org.araneaframework
Interface EnvironmentAwareCallback

All Superinterfaces:
Serializable
All Known Implementing Classes:
StandardEnvironmentAwareCallback

public interface EnvironmentAwareCallback
extends Serializable

Callbacks that are Environment aware.

For example, the call may use the flow context from the Environment to start a new flow using the childEnvironment of the flow context.


Method Summary
 void call(Environment env)
          This method is expected to use the given Environment to start a new flow or use it for whatever is necessary.
 

Method Detail

call

public void call(Environment env)
          throws Exception
This method is expected to use the given Environment to start a new flow or use it for whatever is necessary.

Parameters:
env - the Environment of the flow context.
Throws:
Exception - Any runtime exception that may occur.