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
- Direct Known Subclasses:
- AppPropertiesComponentAdaptor, SwitchingInvocationAdapter
public abstract class AbstractSwitchingInvocationAdaptor<T>
- extends AbstractComponentAdaptor<T>
Copyright (c) 2002-2004
All rights reserved.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractSwitchingInvocationAdaptor
public AbstractSwitchingInvocationAdaptor(Class<T> interfaceClass,
Class<T> enabledClass,
Class<T> disabledClass)
isEnabled
protected boolean isEnabled()
getComponentImplementation
public Class<T> getComponentImplementation()
- Specified by:
getComponentImplementation
in interface org.picocontainer.ComponentAdapter
- Specified by:
getComponentImplementation
in class AbstractComponentAdaptor<T>
getHandler
protected InvocationHandler getHandler()
getComponentInstance
public Object getComponentInstance()
throws org.picocontainer.PicoInitializationException,
org.picocontainer.PicoIntrospectionException
- Specified by:
getComponentInstance
in interface org.picocontainer.ComponentAdapter
- Specified by:
getComponentInstance
in class AbstractComponentAdaptor<T>
- Throws:
org.picocontainer.PicoInitializationException
org.picocontainer.PicoIntrospectionException
getInvocationSwitcher
protected abstract InvocationSwitcher getInvocationSwitcher()
Copyright © 2002-2013 Atlassian. All Rights Reserved.