ikrs.json.rpc
Class AbstractInvocationTarget

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

public abstract class AbstractInvocationTarget
extends java.lang.Object
implements RPCInvocationTarget

This is an abstract RPCMethodInvocationTarget implementation.


Constructor Summary
AbstractInvocationTarget()
           
 
Method Summary
 boolean checkMethodInvocation(java.lang.reflect.Method method)
          This is a default implementation that allows ONLY this method itself and all public methods to be invocated.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractInvocationTarget

public AbstractInvocationTarget()
Method Detail

checkMethodInvocation

public boolean checkMethodInvocation(java.lang.reflect.Method method)
This is a default implementation that allows ONLY this method itself and all public methods to be invocated.

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