com.atlassian.jira.config.component
Class SwitchingInvocationAdapter<T>
java.lang.Object
com.atlassian.jira.config.component.AbstractComponentAdaptor<T>
com.atlassian.jira.config.component.AbstractSwitchingInvocationAdaptor<T>
com.atlassian.jira.config.component.SwitchingInvocationAdapter<T>
- All Implemented Interfaces:
- org.picocontainer.ComponentAdapter<T>
public class SwitchingInvocationAdapter<T>
- extends AbstractSwitchingInvocationAdaptor<T>
The SwitchingInvocationAdapter returns a proxy that allows for dynamic determination of
which class implementation to be called on when invoking a specified method.
Nested classes/interfaces inherited from interface org.picocontainer.ComponentAdapter |
org.picocontainer.ComponentAdapter.NOTHING |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SwitchingInvocationAdapter
public SwitchingInvocationAdapter(Class<T> interfaceClass,
Class<? extends T> enabledClass,
Class<? extends T> disabledClass,
InvocationSwitcher invocationSwitcher)
getInvocationSwitcher
protected InvocationSwitcher getInvocationSwitcher()
- Specified by:
getInvocationSwitcher
in class AbstractSwitchingInvocationAdaptor<T>
Copyright © 2002-2014 Atlassian. All Rights Reserved.