public class PreDecorator<T> extends DecoratorInvocationHandler<T>
| Constructor and Description |
|---|
PreDecorator(T target,
T decorator) |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.Object |
getResult(java.lang.Object firstResult,
java.lang.Object secondResult) |
protected java.lang.Object |
invokeFirst(java.lang.reflect.Method method,
java.lang.Object[] args) |
protected java.lang.Object |
invokeSecond(java.lang.reflect.Method method,
java.lang.Object[] args) |
getDecorator, getTarget, invoke, setDecorator, setReturnDecoratorResult, shouldReturnDecoratorResultprotected java.lang.Object invokeFirst(java.lang.reflect.Method method,
java.lang.Object[] args)
throws java.lang.IllegalArgumentException,
java.lang.IllegalAccessException,
java.lang.reflect.InvocationTargetException
invokeFirst in class DecoratorInvocationHandler<T>java.lang.IllegalArgumentExceptionjava.lang.IllegalAccessExceptionjava.lang.reflect.InvocationTargetExceptionprotected java.lang.Object invokeSecond(java.lang.reflect.Method method,
java.lang.Object[] args)
throws java.lang.IllegalArgumentException,
java.lang.IllegalAccessException,
java.lang.reflect.InvocationTargetException
invokeSecond in class DecoratorInvocationHandler<T>java.lang.IllegalArgumentExceptionjava.lang.IllegalAccessExceptionjava.lang.reflect.InvocationTargetExceptionprotected java.lang.Object getResult(java.lang.Object firstResult,
java.lang.Object secondResult)
getResult in class DecoratorInvocationHandler<T>Copyright © 2007-2013 FEST (Fixtures for Easy Software Testing). All Rights Reserved.