com.vordel.circuit
Class CircuitChainProcessor
java.lang.Object
com.vordel.circuit.FilterContainer
com.vordel.circuit.MessageProcessor
com.vordel.circuit.DelegatingProcessor
com.vordel.circuit.CircuitChainProcessor
- Direct Known Subclasses:
- SyntheticCircuitChainProcessor
public class CircuitChainProcessor
- extends DelegatingProcessor
Methods inherited from class com.vordel.circuit.MessageProcessor |
filterDetached, getCategory, getFilterMessage, getLogMask, logFailure, logFatal, logMessagePayload, logSuccess, report, report, setFilterMessage, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
cdf
protected CircuitDelegateFilter cdf
CircuitChainProcessor
public CircuitChainProcessor()
filterAttached
public void filterAttached(com.vordel.precipitate.SolutionPack ctx,
Entity entity)
throws EntityStoreException
- Description copied from class:
FilterContainer
- Called on a filter's container when the filter is configured.
Any domain-specific initialisation of the filter container can be done
at this point. This will be called at least once when the filter
attaches.
- Overrides:
filterAttached
in class MessageProcessor
- Parameters:
ctx
- configuration context for the filter attached to this
container.
- Throws:
EntityStoreException
attach
public void attach(CircuitChainFilter filter,
CircuitCache circuitCache)
throws EntityStoreException
- Throws:
EntityStoreException
invoke
public boolean invoke(Circuit c,
Message m)
throws CircuitAbortException
- Description copied from class:
MessageProcessor
- invoked by circuit to act on a message
- Specified by:
invoke
in class MessageProcessor
- Parameters:
c
- The Circuit contextm
- The message
- Returns:
- predicate indicating success of filter execution
- Throws:
CircuitAbortException
callCircuit
protected boolean callCircuit(Circuit ci,
CircuitReference cr,
Message m)
throws CircuitAbortException
- Throws:
CircuitAbortException
This documentation and all its contents and graphics, copyright © 1999 - 2011 Vordel