public class SwitchingInvocationHandler<T> extends Object implements InvocationHandler
| Modifier | Constructor and Description |
|---|---|
protected |
SwitchingInvocationHandler(T enabled,
T disabled,
InvocationSwitcher invocationSwitcher) |
| Modifier and Type | Method and Description |
|---|---|
T |
getImplementingObject()
Cache the value of the object returned from the container
|
Object |
invoke(Object proxy,
Method method,
Object[] args) |
protected boolean |
isEnabled() |
protected SwitchingInvocationHandler(T enabled, T disabled, InvocationSwitcher invocationSwitcher)
public Object invoke(Object proxy, Method method, Object[] args) throws Throwable
invoke in interface InvocationHandlerThrowablepublic T getImplementingObject()
protected boolean isEnabled()
Copyright © 2002-2017 Atlassian. All Rights Reserved.