uchicago.src.reflector
Class Invoker
java.lang.Object
uchicago.src.reflector.Invoker
- Direct Known Subclasses:
- BooleanArgInvoker, ByteArgInvoker, DoubleArgInvoker, FloatArgInvoker, IntegerArgInvoker, LongArgInvoker, ObjectArgInvoker, ShortArgInvoker, StringArgInvoker
public abstract class Invoker
- extends java.lang.Object
Abstract super class for specialized invoker subclasses. Sub classes
are specialized according the the parameter type. Intended to invoke methods
having a single argument, and no return value. Especially setXXX accessor
methods.
- Version:
- $Revision: 1.3 $ $Date: 2004/11/03 19:51:05 $
- Author:
- Nick Collier
|
Constructor Summary |
Invoker(java.lang.Object o,
java.lang.reflect.Method method,
java.lang.String param)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Invoker
public Invoker(java.lang.Object o,
java.lang.reflect.Method method,
java.lang.String param)
execute
public void execute()
throws InvokerException,
java.lang.reflect.InvocationTargetException,
java.lang.IllegalAccessException
- Throws:
InvokerException
java.lang.reflect.InvocationTargetException
java.lang.IllegalAccessException
check
protected void check()
throws InvokerException
- Throws:
InvokerException
invoke
protected abstract void invoke()
throws java.lang.reflect.InvocationTargetException,
java.lang.IllegalAccessException
- Throws:
java.lang.reflect.InvocationTargetException
java.lang.IllegalAccessException