se.citerus.dddsample.infrastructure.messaging.jms
Class JmsApplicationEventsImpl

java.lang.Object
  extended by se.citerus.dddsample.infrastructure.messaging.jms.JmsApplicationEventsImpl
All Implemented Interfaces:
ApplicationEvents

public final class JmsApplicationEventsImpl
extends java.lang.Object
implements ApplicationEvents

JMS based implementation.


Constructor Summary
JmsApplicationEventsImpl()
           
 
Method Summary
 void cargoHasArrived(Cargo cargo)
          A cargo has arrived at its final destination.
 void cargoWasHandled(HandlingEvent event)
          A cargo has been handled.
 void cargoWasMisdirected(Cargo cargo)
          A cargo has been misdirected.
 void receivedHandlingEventRegistrationAttempt(HandlingEventRegistrationAttempt attempt)
          A handling event regitration attempt is received.
 void setCargoHandledQueue(javax.jms.Destination destination)
           
 void setDeliveredCargoQueue(javax.jms.Destination destination)
           
 void setHandlingEventQueue(javax.jms.Destination destination)
           
 void setJmsOperations(org.springframework.jms.core.JmsOperations jmsOperations)
           
 void setMisdirectedCargoQueue(javax.jms.Destination destination)
           
 void setRejectedRegistrationAttemptsQueue(javax.jms.Destination destination)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JmsApplicationEventsImpl

public JmsApplicationEventsImpl()
Method Detail

cargoWasHandled

public void cargoWasHandled(HandlingEvent event)
Description copied from interface: ApplicationEvents
A cargo has been handled.

Specified by:
cargoWasHandled in interface ApplicationEvents
Parameters:
event - handling event

cargoWasMisdirected

public void cargoWasMisdirected(Cargo cargo)
Description copied from interface: ApplicationEvents
A cargo has been misdirected.

Specified by:
cargoWasMisdirected in interface ApplicationEvents
Parameters:
cargo - cargo

cargoHasArrived

public void cargoHasArrived(Cargo cargo)
Description copied from interface: ApplicationEvents
A cargo has arrived at its final destination.

Specified by:
cargoHasArrived in interface ApplicationEvents
Parameters:
cargo - cargo

receivedHandlingEventRegistrationAttempt

public void receivedHandlingEventRegistrationAttempt(HandlingEventRegistrationAttempt attempt)
Description copied from interface: ApplicationEvents
A handling event regitration attempt is received.

Specified by:
receivedHandlingEventRegistrationAttempt in interface ApplicationEvents
Parameters:
attempt - handling event registration attempt

setJmsOperations

public void setJmsOperations(org.springframework.jms.core.JmsOperations jmsOperations)

setCargoHandledQueue

public void setCargoHandledQueue(javax.jms.Destination destination)

setMisdirectedCargoQueue

public void setMisdirectedCargoQueue(javax.jms.Destination destination)

setDeliveredCargoQueue

public void setDeliveredCargoQueue(javax.jms.Destination destination)

setRejectedRegistrationAttemptsQueue

public void setRejectedRegistrationAttemptsQueue(javax.jms.Destination destination)

setHandlingEventQueue

public void setHandlingEventQueue(javax.jms.Destination destination)


Copyright © 2009. All Rights Reserved.