com.atlassian.jira.config.component
Class AbstractComponentAdaptor<T>
java.lang.Object
com.atlassian.jira.config.component.AbstractComponentAdaptor<T>
- All Implemented Interfaces:
- org.picocontainer.ComponentAdapter
- Direct Known Subclasses:
- AbstractSwitchingInvocationAdaptor, DateTimeFormatterComponentAdapter, SimpleSwitchingComponentAdaptor
public abstract class AbstractComponentAdaptor<T>
- extends Object
- implements org.picocontainer.ComponentAdapter
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
container
protected org.picocontainer.PicoContainer container
interfaceClass
protected final Class<T> interfaceClass
AbstractComponentAdaptor
public AbstractComponentAdaptor(Class<T> interfaceClass)
getComponentKey
public Object getComponentKey()
- Specified by:
getComponentKey
in interface org.picocontainer.ComponentAdapter
verify
public void verify()
throws org.picocontainer.defaults.UnsatisfiableDependenciesException
- Specified by:
verify
in interface org.picocontainer.ComponentAdapter
- Throws:
org.picocontainer.defaults.UnsatisfiableDependenciesException
getContainer
public org.picocontainer.PicoContainer getContainer()
- Specified by:
getContainer
in interface org.picocontainer.ComponentAdapter
setContainer
public void setContainer(org.picocontainer.PicoContainer picoContainer)
- Specified by:
setContainer
in interface org.picocontainer.ComponentAdapter
getComponentImplementation
public abstract Class<?> getComponentImplementation()
- Specified by:
getComponentImplementation
in interface org.picocontainer.ComponentAdapter
getComponentInstance
public abstract Object getComponentInstance()
throws org.picocontainer.PicoInitializationException,
org.picocontainer.PicoIntrospectionException
- Specified by:
getComponentInstance
in interface org.picocontainer.ComponentAdapter
- Throws:
org.picocontainer.PicoInitializationException
org.picocontainer.PicoIntrospectionException
Copyright © 2002-2012 Atlassian. All Rights Reserved.