org.fuin.jmsmvc4swing.jms
Interface MethodHandler


public interface MethodHandler

Handles a method call.


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

Method Detail

getMethodName

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

Returns:
Method name.

handle

void handle(Controller controller,
            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 © 2011 Future Invent Informationsmanagement GmbH. All Rights Reserved.