|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbiz.hammurapi.dispatch.IntrospectingInvocationTarget
public class IntrospectingInvocationTarget
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.
Constructor Summary | |
---|---|
IntrospectingInvocationTarget(java.lang.Object targetInstance,
java.lang.String methodName,
java.lang.Class parameterType)
Introspects the target and creates an array of invocation handlers. |
Method Summary | |
---|---|
java.util.Collection |
getInvocationHandlers()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IntrospectingInvocationTarget(java.lang.Object targetInstance, java.lang.String methodName, java.lang.Class parameterType)
targetInstance
- Target instancemethodName
- Method nameparameterType
- Invocation handlers shall accept arguments of this type. Can be null.Method Detail |
---|
public java.util.Collection getInvocationHandlers()
getInvocationHandlers
in interface InvocationTarget
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |