kaos.core.util
Class MethodCallRequestHelper

java.lang.Object
  extended by kaos.core.util.MethodCallRequestHelper

public class MethodCallRequestHelper
extends java.lang.Object

This class is a helper to process a MethodCallRequestMsg and return a MethodCallResultMsg for a class which contains the methods being called


Constructor Summary
MethodCallRequestHelper(java.lang.Object methodContainer)
           
 
Method Summary
 java.lang.Object getMethodContainer()
           
 java.lang.Object invokeMethod(java.lang.String methodName, java.util.Vector args)
           
 MethodCallResultMsg satisfyRequest(MethodCallRequestMsg requestMsg)
           
 MethodCallResultMsg satisfyRequest(java.lang.String sequenceId, java.lang.String methodName, java.util.Vector args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MethodCallRequestHelper

public MethodCallRequestHelper(java.lang.Object methodContainer)
Method Detail

satisfyRequest

public MethodCallResultMsg satisfyRequest(MethodCallRequestMsg requestMsg)

satisfyRequest

public MethodCallResultMsg satisfyRequest(java.lang.String sequenceId,
                                          java.lang.String methodName,
                                          java.util.Vector args)

invokeMethod

public java.lang.Object invokeMethod(java.lang.String methodName,
                                     java.util.Vector args)
                              throws java.lang.Exception
Throws:
java.lang.Exception

getMethodContainer

public java.lang.Object getMethodContainer()