org.mule.test.integration.spring.events
Class OrderManagerBean

java.lang.Object
  extended by org.mule.test.integration.spring.events.TestMuleEventBean
      extended by org.mule.test.integration.spring.events.OrderManagerBean
All Implemented Interfaces:
EventListener, org.mule.module.spring.events.MuleEventListener, org.mule.module.spring.events.MuleSubscriptionEventListener, OrderManager, org.springframework.context.ApplicationListener
Direct Known Subclasses:
AsyncOrderManagerBean

public class OrderManagerBean
extends TestMuleEventBean
implements OrderManager, org.mule.module.spring.events.MuleSubscriptionEventListener

OrderManagerBean receives Order beans from Mule and dispatches processed results back through Mule via the applicationContext


Constructor Summary
OrderManagerBean()
           
 
Method Summary
 String[] getSubscriptions()
           
 void onApplicationEvent(org.springframework.context.ApplicationEvent event)
           
 String processOrder(Order order)
           
 void setSubscriptions(String[] subscriptions)
           
 
Methods inherited from class org.mule.test.integration.spring.events.TestMuleEventBean
getEventCallback, setEventCallback
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OrderManagerBean

public OrderManagerBean()
Method Detail

onApplicationEvent

public void onApplicationEvent(org.springframework.context.ApplicationEvent event)
Specified by:
onApplicationEvent in interface org.springframework.context.ApplicationListener
Overrides:
onApplicationEvent in class TestMuleEventBean

processOrder

public String processOrder(Order order)
Specified by:
processOrder in interface OrderManager

getSubscriptions

public String[] getSubscriptions()
Specified by:
getSubscriptions in interface org.mule.module.spring.events.MuleSubscriptionEventListener

setSubscriptions

public void setSubscriptions(String[] subscriptions)
Specified by:
setSubscriptions in interface org.mule.module.spring.events.MuleSubscriptionEventListener


Copyright © 2003-2008 MuleSource, Inc.. All Rights Reserved.