com.atlassian.jira.config.component
Class AbstractSwitchingInvocationAdaptor<T>
java.lang.Object
com.atlassian.jira.config.component.AbstractComponentAdaptor<T>
com.atlassian.jira.config.component.AbstractSwitchingInvocationAdaptor<T>
- All Implemented Interfaces:
- org.picocontainer.ComponentAdapter<T>
- Direct Known Subclasses:
- AppPropertiesComponentAdaptor, SwitchingInvocationAdapter
public abstract class AbstractSwitchingInvocationAdaptor<T>
- extends AbstractComponentAdaptor<T>
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 |
AbstractSwitchingInvocationAdaptor
protected AbstractSwitchingInvocationAdaptor(Class<T> interfaceClass,
Class<? extends T> enabledClass,
Class<? extends T> disabledClass)
isEnabled
protected boolean isEnabled()
getComponentImplementation
public Class<? extends T> getComponentImplementation()
getHandler
protected InvocationHandler getHandler(org.picocontainer.PicoContainer container)
getComponentInstance
public T getComponentInstance(org.picocontainer.PicoContainer container)
throws org.picocontainer.PicoCompositionException
- Throws:
org.picocontainer.PicoCompositionException
getInvocationSwitcher
protected abstract InvocationSwitcher getInvocationSwitcher()
Copyright © 2002-2014 Atlassian. All Rights Reserved.