com.atlassian.jira.config.component
Class AbstractSwitchingInvocationAdaptor
java.lang.Object
com.atlassian.jira.config.component.AbstractComponentAdaptor
com.atlassian.jira.config.component.AbstractSwitchingInvocationAdaptor
- All Implemented Interfaces:
- org.picocontainer.ComponentAdapter
- Direct Known Subclasses:
- AppPropertiesComponentAdaptor, SwitchingInvocationAdapter
public abstract class AbstractSwitchingInvocationAdaptor
- extends AbstractComponentAdaptor
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 interfaceClass,
Class enabledClass,
Class disabledClass)
isEnabled
protected boolean isEnabled()
getComponentImplementation
public Class getComponentImplementation()
- Specified by:
getComponentImplementation
in interface org.picocontainer.ComponentAdapter
- Specified by:
getComponentImplementation
in class AbstractComponentAdaptor
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
- Throws:
org.picocontainer.PicoInitializationException
org.picocontainer.PicoIntrospectionException
getInvocationSwitcher
protected abstract InvocationSwitcher getInvocationSwitcher()
Copyright © 2002-2009 Atlassian. All Rights Reserved.