| java.lang.Object biz.hammurapi.dispatch.IntrospectingInvocationTarget
IntrospectingInvocationTarget | public class IntrospectingInvocationTarget implements InvocationTarget(Code) | | This class introspects an object passed to the constructor and creates
invocation handlers for methods with one argument and the name provided in
the constructor.
Invocation handler would not invoke target method with incompatible argument.
author: Pavel Vlasov |
Constructor Summary | |
public | IntrospectingInvocationTarget(Object targetInstance, String methodName, Class parameterType) Introspects the target and creates an array of invocation handlers.
Parameters: targetInstance - Target instance Parameters: methodName - Method name Parameters: parameterType - Invocation handlers shall accept arguments of this type. |
IntrospectingInvocationTarget | public IntrospectingInvocationTarget(Object targetInstance, String methodName, Class parameterType)(Code) | | Introspects the target and creates an array of invocation handlers.
Parameters: targetInstance - Target instance Parameters: methodName - Method name Parameters: parameterType - Invocation handlers shall accept arguments of this type. Can be null. |
|
|