org.smallmind.quorum.transport.message
Class InvocationMessageTarget

java.lang.Object
  extended by org.smallmind.quorum.transport.message.InvocationMessageTarget
All Implemented Interfaces:
MessageTarget

public class InvocationMessageTarget
extends Object
implements MessageTarget


Constructor Summary
InvocationMessageTarget(Object targetObject, Class serviceInterface)
           
 
Method Summary
 Class getServiceInterface()
           
 javax.jms.Message handleMessage(javax.jms.Session session, MessageStrategy messageStrategy, javax.jms.Message message)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InvocationMessageTarget

public InvocationMessageTarget(Object targetObject,
                               Class serviceInterface)
                        throws NoSuchMethodException
Throws:
NoSuchMethodException
Method Detail

getServiceInterface

public Class getServiceInterface()
Specified by:
getServiceInterface in interface MessageTarget

handleMessage

public javax.jms.Message handleMessage(javax.jms.Session session,
                                       MessageStrategy messageStrategy,
                                       javax.jms.Message message)
                                throws Exception
Specified by:
handleMessage in interface MessageTarget
Throws:
Exception


Copyright © 2012. All Rights Reserved.