public class AllowInvocationProcessor extends FilterInvocationProcessor
Constructor and Description |
---|
AllowInvocationProcessor() |
Modifier and Type | Method and Description |
---|---|
boolean |
preProcess(int callId,
java.lang.String callerIp,
java.lang.String handler,
java.lang.String method,
java.util.List arguments)
Examines the caller IP and the method to see if the invocation should be performed.
|
addFilters, addFiltersByName, onException, postProcess
public boolean preProcess(int callId, java.lang.String callerIp, java.lang.String handler, java.lang.String method, java.util.List arguments)
FilterInvocationProcessor
preProcess
in interface XmlRpcInvocationProcessor
preProcess
in class FilterInvocationProcessor
callId
- A sequence number for tracing calls between preProcess() and
postProcess() calls. This is unique within each session. That is,
the sequence is restarted when the application restarts.handler
- The name of the handler being called.method
- The name of the method being called.arguments
- The arguments that will be sent to the method.XmlRpcInvocationProcessor.preProcess(int, java.lang.String, java.lang.String, java.lang.String, java.util.List)