@ParametersAreNonnullByDefault public class WrappedComponentContainer extends Object
ComponentContainer
used to instantiate objectsConstructor and Description |
---|
WrappedComponentContainer(com.atlassian.jira.ComponentContainer componentContainer) |
Modifier and Type | Method and Description |
---|---|
void |
dispose() |
com.atlassian.jira.ComponentContainer |
getComponentContainer() |
org.picocontainer.MutablePicoContainer |
getPicoContainer() |
boolean |
isWrapped() |
void |
registerComponent(Class<?> interfaceClass,
Class<?> componentClass)
Registers a component of the given class, optionally using the given interface as the key.
|
void |
wrapWith(ContainerProvider containerProvider) |
public WrappedComponentContainer(com.atlassian.jira.ComponentContainer componentContainer)
public org.picocontainer.MutablePicoContainer getPicoContainer()
public com.atlassian.jira.ComponentContainer getComponentContainer()
public boolean isWrapped()
public void wrapWith(ContainerProvider containerProvider)
public void dispose()
public void registerComponent(@Nullable Class<?> interfaceClass, Class<?> componentClass)
interfaceClass
- the interface to use as the keycomponentClass
- the component classCopyright © 2002-2018 Atlassian. All Rights Reserved.