org.fuin.jmsmvc4swing.jms
Interface MethodHandler


public interface MethodHandler

Handles a method call.


Method Summary
 java.lang.String getMethodName()
          Returns the method name this handler belongs to.
 void handle(Controller controller, java.lang.String topicName, Data args, long id)
          Calls a method on the given controller.
 

Method Detail

getMethodName

java.lang.String getMethodName()
Returns the method name this handler belongs to.

Returns:
Method name.

handle

void handle(Controller controller,
            java.lang.String topicName,
            Data args,
            long id)
Calls a method on the given controller.

Parameters:
controller - Controller to use.
topicName - Topic to publish the result to.
args - Arguments for the method call.
id - Unique method call id.


Copyright © 2010 Future Invent Informationsmanagement GmbH. All Rights Reserved.