public class PreDecorator<T> extends DecoratorInvocationHandler<T>
| Constructor and Description |
|---|
PreDecorator(T target,
T decorator) |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
getResult(Object firstResult,
Object secondResult) |
protected Object |
invokeFirst(Method method,
Object[] args) |
protected Object |
invokeSecond(Method method,
Object[] args) |
getDecorator, getTarget, invoke, setDecorator, setReturnDecoratorResult, shouldReturnDecoratorResultprotected Object invokeFirst(Method method, Object[] args) throws IllegalArgumentException, IllegalAccessException, InvocationTargetException
invokeFirst in class DecoratorInvocationHandler<T>IllegalArgumentExceptionIllegalAccessExceptionInvocationTargetExceptionprotected Object invokeSecond(Method method, Object[] args) throws IllegalArgumentException, IllegalAccessException, InvocationTargetException
invokeSecond in class DecoratorInvocationHandler<T>IllegalArgumentExceptionIllegalAccessExceptionInvocationTargetExceptionCopyright © 2007–2016. All rights reserved.