ikrs.json.rpc
Class TestInvocationTarget

java.lang.Object
  extended by ikrs.json.rpc.AbstractInvocationTarget
      extended by ikrs.json.rpc.TestInvocationTarget
All Implemented Interfaces:
RPCInvocationTarget

public class TestInvocationTarget
extends AbstractInvocationTarget

This is an abstract RPCMethodInvocationTarget implementation.


Constructor Summary
TestInvocationTarget()
           
 
Method Summary
 boolean checkMethodInvocation(java.lang.reflect.Method method)
          This is a default implementation that allows ONLY
 void doAnything(java.lang.Integer i, java.lang.String s, java.lang.Boolean b)
           
 void doSomething()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestInvocationTarget

public TestInvocationTarget()
Method Detail

checkMethodInvocation

public boolean checkMethodInvocation(java.lang.reflect.Method method)
This is a default implementation that allows ONLY

Specified by:
checkMethodInvocation in interface RPCInvocationTarget
Overrides:
checkMethodInvocation in class AbstractInvocationTarget
Parameters:
method - The method which shall be checked if invocation is allowed.
Returns:
true if the method is allowed to be called, false otherwise.

doAnything

public void doAnything(java.lang.Integer i,
                       java.lang.String s,
                       java.lang.Boolean b)

doSomething

public void doSomething()