|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.milyn.smooks.camel.routing.BeanRouterObserver
public class BeanRouterObserver
BeanRouterObserver is a BeanContextLifecycleObserver that will route
a specified bean to the configured endpoint.
| Constructor Summary | |
|---|---|
BeanRouterObserver(BeanRouter beanRouter,
java.lang.String beanId)
Sole contructor. |
|
| Method Summary | |
|---|---|
boolean |
conditionsMatch(BeanContextLifecycleEvent event)
|
void |
onBeanLifecycleEvent(BeanContextLifecycleEvent event)
Will route to the endpoint if the BeanLifecycle is of type BeanLifecycle.REMOVE and the beanId is equals to the beanId that was configured for this instance. |
void |
setConditionEvaluator(ExecutionContextExpressionEvaluator conditionEvaluator)
Set the condition evaluator for performing the routing. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BeanRouterObserver(BeanRouter beanRouter,
java.lang.String beanId)
beanRouter - The bean router instance to be used for routing beans.beanId - The beanId which is the beanId in the Smooks BeanContext.| Method Detail |
|---|
public void setConditionEvaluator(ExecutionContextExpressionEvaluator conditionEvaluator)
conditionEvaluator - The routing condition evaluator.public void onBeanLifecycleEvent(BeanContextLifecycleEvent event)
onBeanLifecycleEvent in interface BeanContextLifecycleObserverpublic boolean conditionsMatch(BeanContextLifecycleEvent event)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||