com.hammurapi.flow.runtime
Interface FlowElement

All Known Subinterfaces:
Flow<N,T,P,K,S,A>, Node<P,K,S,A>, Transition<S,A>

public interface FlowElement

Runtime flow element.

Author:
Pavel Vlasov

Method Summary
 void afterConnect()
          This method is invoked after all flow elements has been connected.
 void beforeConnect()
          This method is invoked after property injection, but before connecting flow elements.
 

Method Detail

beforeConnect

void beforeConnect()
                   throws ConfigurationException
This method is invoked after property injection, but before connecting flow elements. Flow elements can perform initialization of internal structures which are required for connecting elements, e.g. synapse factory. Flows are responsible for invoking beforeConnect() of their children in their beforeConnect().

Throws:
ConfigurationException

afterConnect

void afterConnect()
                  throws ConfigurationException
This method is invoked after all flow elements has been connected. Flow elements can perform initialization of internal structures in this method as well as in init() method. Flows are responsible for invoking afterConnect() of their children in their afterConnect().

Throws:
ConfigurationException