public class CachingPicoContainer extends AbstractDelegatingMutablePicoContainer implements java.io.Serializable
DefaultPicoContainer
ImplementationHidingCachingPicoContainer
,
ImplementationHidingPicoContainer
,
Serialized FormModifier and Type | Field and Description |
---|---|
private ComponentAdapterFactory |
caf |
Constructor and Description |
---|
CachingPicoContainer()
Creates a new container with no parent container.
|
CachingPicoContainer(ComponentAdapterFactory caf)
Creates a new container with a parent container.
|
CachingPicoContainer(ComponentAdapterFactory caf,
PicoContainer parent)
Creates a new container with a parent container.
|
CachingPicoContainer(PicoContainer parent)
Creates a new container with a parent container.
|
Modifier and Type | Method and Description |
---|---|
MutablePicoContainer |
makeChildContainer()
Make a child container, using the same implementation of MutablePicoContainer as the parent.
|
private static CachingComponentAdapterFactory |
makeComponentAdapterFactory(ComponentAdapterFactory caf) |
accept, addChildContainer, dispose, equals, getComponentAdapter, getComponentAdapterOfType, getComponentAdapters, getComponentAdaptersOfType, getComponentInstance, getComponentInstanceOfType, getComponentInstances, getComponentInstancesOfType, getDelegate, getParent, registerComponent, registerComponentImplementation, registerComponentImplementation, registerComponentImplementation, registerComponentInstance, registerComponentInstance, removeChildContainer, start, stop, unregisterComponent, unregisterComponentByInstance, verify
private final ComponentAdapterFactory caf
public CachingPicoContainer(ComponentAdapterFactory caf, PicoContainer parent)
public CachingPicoContainer(PicoContainer parent)
public CachingPicoContainer(ComponentAdapterFactory caf)
public CachingPicoContainer()
private static CachingComponentAdapterFactory makeComponentAdapterFactory(ComponentAdapterFactory caf)
public MutablePicoContainer makeChildContainer()
MutablePicoContainer
makeChildContainer
in interface MutablePicoContainer