com.atlassian.jira.config.component
Class SwitchingInvocationHandler
java.lang.Object
com.atlassian.jira.config.component.SwitchingInvocationHandler
- All Implemented Interfaces:
- InvocationHandler
public class SwitchingInvocationHandler
- extends Object
- implements InvocationHandler
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SwitchingInvocationHandler
protected SwitchingInvocationHandler(Object enabled,
Object disabled,
InvocationSwitcher invocationSwitcher)
invoke
public Object invoke(Object proxy,
Method method,
Object[] args)
throws Throwable
- Specified by:
invoke
in interface InvocationHandler
- Throws:
Throwable
getImplementingObject
public Object getImplementingObject()
- Cache the value of the object returned from the container
isEnabled
protected boolean isEnabled()
Copyright © 2002-2013 Atlassian. All Rights Reserved.