ikrs.json.rpc
Interface RPCInvocationTarget
- All Known Implementing Classes:
- AbstractInvocationTarget, TestInvocationTarget
public interface RPCInvocationTarget
The RPCInvocationTarget interface must be implemented by classes
that should be accessible by the RPCHandler.
Method Summary |
boolean |
checkMethodInvocation(java.lang.reflect.Method method)
This methods determines if the passed method is allowed to
be called by the RPC handler. |
checkMethodInvocation
boolean checkMethodInvocation(java.lang.reflect.Method method)
- This methods determines if the passed method is allowed to
be called by the RPC handler.
The handler will only pass methods that are definitely
part of this object respective the implementing class.
If the passed method is not part of this object the returned
value is not defined (may be true or false, as you want).
- Parameters:
method
- The method which shall be checked if invocation
is allowed.
- Returns:
- true if the method is allowed to be called, false
otherwise.