@ParametersAreNonnullByDefault public class WrappedComponentContainer extends Object
ComponentContainer used to instantiate objects| Constructor and Description |
|---|
WrappedComponentContainer(ComponentContainer componentContainer) |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose() |
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)
Deprecated.
Since v4.3.
|
public WrappedComponentContainer(ComponentContainer componentContainer)
public org.picocontainer.MutablePicoContainer getPicoContainer()
public ComponentContainer getComponentContainer()
public boolean isWrapped()
public void wrapWith(ContainerProvider containerProvider)
containerProvider - provides the container to wrap this onepublic void dispose()
public void registerComponent(@Nullable Class<?> interfaceClass, Class<?> componentClass)
interfaceClass - the interface to use as the keycomponentClass - the component classCopyright © 2002-2019 Atlassian. All Rights Reserved.