org.openwms.tms.service.spring
Class TransportOrderStateTracker
java.lang.Object
org.openwms.tms.service.spring.TransportOrderStateTracker
- All Implemented Interfaces:
- EventListener, org.springframework.context.ApplicationListener<TransportServiceEvent>
@Component
@Transactional
public class TransportOrderStateTracker
- extends Object
- implements org.springframework.context.ApplicationListener<TransportServiceEvent>
A TransportOrderStateTracker. A listener adapter that delegates to an
instance of TransportOrderStateDelegate
.
- Since:
- 0.1
- Version:
- $Revision: 1409 $
- Author:
- Tina Russell
- See Also:
TransportOrderStateDelegate
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TransportOrderStateTracker
public TransportOrderStateTracker()
setTransportOrderStateDelegate
public void setTransportOrderStateDelegate(TransportOrderStateDelegate transportOrderStateDelegate)
- Override the delegate implementation that tracks the next order states.
- Parameters:
transportOrderStateDelegate
- The delegate to use
onApplicationEvent
public void onApplicationEvent(TransportServiceEvent event)
- Delegate all
TransportServiceEvent
s to a delegate synchronously.
- Specified by:
onApplicationEvent
in interface org.springframework.context.ApplicationListener<TransportServiceEvent>
- Parameters:
event
- A TransportServiceEvent
.- See Also:
ApplicationListener.onApplicationEvent(org.springframework.context.ApplicationEvent)
Copyright © 2005-2011 openwms.org. All Rights Reserved.