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