public class CachingMutablePicoContainer extends Object implements org.picocontainer.MutablePicoContainer
Constructor and Description |
---|
CachingMutablePicoContainer(org.picocontainer.MutablePicoContainer delegatePicoContainer) |
Modifier and Type | Method and Description |
---|---|
void |
accept(org.picocontainer.PicoVisitor visitor) |
org.picocontainer.MutablePicoContainer |
addAdapter(org.picocontainer.ComponentAdapter<?> componentAdapter) |
org.picocontainer.MutablePicoContainer |
addChildContainer(org.picocontainer.PicoContainer child) |
org.picocontainer.MutablePicoContainer |
addComponent(Object implOrInstance) |
org.picocontainer.MutablePicoContainer |
addComponent(Object componentKey,
Object componentImplementationOrInstance,
org.picocontainer.Parameter... parameters) |
org.picocontainer.MutablePicoContainer |
addConfig(String name,
Object val) |
org.picocontainer.MutablePicoContainer |
as(Properties... properties) |
org.picocontainer.MutablePicoContainer |
change(Properties... properties) |
void |
dispose() |
<T> T |
getComponent(Class<T> componentType) |
<T> T |
getComponent(Class<T> componentType,
Class<? extends Annotation> binding) |
Object |
getComponent(Object componentKeyOrType) |
Object |
getComponent(Object componentKeyOrType,
Type into) |
<T> org.picocontainer.ComponentAdapter<T> |
getComponentAdapter(Class<T> componentType,
Class<? extends Annotation> binding) |
<T> org.picocontainer.ComponentAdapter<T> |
getComponentAdapter(Class<T> componentType,
org.picocontainer.NameBinding componentNameBinding) |
org.picocontainer.ComponentAdapter<?> |
getComponentAdapter(Object componentKey) |
Collection<org.picocontainer.ComponentAdapter<?>> |
getComponentAdapters() |
<T> List<org.picocontainer.ComponentAdapter<T>> |
getComponentAdapters(Class<T> componentType) |
<T> List<org.picocontainer.ComponentAdapter<T>> |
getComponentAdapters(Class<T> componentType,
Class<? extends Annotation> binding) |
List<Object> |
getComponents() |
<T> List<T> |
getComponents(Class<T> componentType) |
org.picocontainer.lifecycle.LifecycleState |
getLifecycleState() |
String |
getName() |
org.picocontainer.PicoContainer |
getParent() |
org.picocontainer.MutablePicoContainer |
makeChildContainer() |
boolean |
removeChildContainer(org.picocontainer.PicoContainer child) |
<T> org.picocontainer.ComponentAdapter<T> |
removeComponent(Object componentKey) |
<T> org.picocontainer.ComponentAdapter<T> |
removeComponentByInstance(T componentInstance) |
void |
setLifecycleState(org.picocontainer.lifecycle.LifecycleState lifecycleState) |
void |
setName(String name) |
void |
start() |
void |
stop() |
public CachingMutablePicoContainer(org.picocontainer.MutablePicoContainer delegatePicoContainer)
public org.picocontainer.MutablePicoContainer addComponent(Object componentKey, Object componentImplementationOrInstance, org.picocontainer.Parameter... parameters)
addComponent
in interface org.picocontainer.MutablePicoContainer
public org.picocontainer.MutablePicoContainer addComponent(Object implOrInstance)
addComponent
in interface org.picocontainer.MutablePicoContainer
public org.picocontainer.MutablePicoContainer addConfig(String name, Object val)
addConfig
in interface org.picocontainer.MutablePicoContainer
public org.picocontainer.MutablePicoContainer addAdapter(org.picocontainer.ComponentAdapter<?> componentAdapter)
addAdapter
in interface org.picocontainer.MutablePicoContainer
public <T> org.picocontainer.ComponentAdapter<T> removeComponent(Object componentKey)
removeComponent
in interface org.picocontainer.MutablePicoContainer
public <T> org.picocontainer.ComponentAdapter<T> removeComponentByInstance(T componentInstance)
removeComponentByInstance
in interface org.picocontainer.MutablePicoContainer
public org.picocontainer.MutablePicoContainer makeChildContainer()
makeChildContainer
in interface org.picocontainer.MutablePicoContainer
public org.picocontainer.MutablePicoContainer addChildContainer(org.picocontainer.PicoContainer child)
addChildContainer
in interface org.picocontainer.MutablePicoContainer
public boolean removeChildContainer(org.picocontainer.PicoContainer child)
removeChildContainer
in interface org.picocontainer.MutablePicoContainer
public org.picocontainer.MutablePicoContainer change(Properties... properties)
change
in interface org.picocontainer.MutablePicoContainer
public org.picocontainer.MutablePicoContainer as(Properties... properties)
as
in interface org.picocontainer.MutablePicoContainer
public void setName(String name)
setName
in interface org.picocontainer.MutablePicoContainer
public void setLifecycleState(org.picocontainer.lifecycle.LifecycleState lifecycleState)
setLifecycleState
in interface org.picocontainer.MutablePicoContainer
public String getName()
getName
in interface org.picocontainer.MutablePicoContainer
public org.picocontainer.lifecycle.LifecycleState getLifecycleState()
getLifecycleState
in interface org.picocontainer.MutablePicoContainer
public Object getComponent(Object componentKeyOrType)
getComponent
in interface org.picocontainer.PicoContainer
public Object getComponent(Object componentKeyOrType, Type into)
getComponent
in interface org.picocontainer.PicoContainer
public <T> T getComponent(Class<T> componentType)
getComponent
in interface org.picocontainer.PicoContainer
public <T> T getComponent(Class<T> componentType, Class<? extends Annotation> binding)
getComponent
in interface org.picocontainer.PicoContainer
public List<Object> getComponents()
getComponents
in interface org.picocontainer.PicoContainer
public org.picocontainer.PicoContainer getParent()
getParent
in interface org.picocontainer.PicoContainer
public org.picocontainer.ComponentAdapter<?> getComponentAdapter(Object componentKey)
getComponentAdapter
in interface org.picocontainer.PicoContainer
public <T> org.picocontainer.ComponentAdapter<T> getComponentAdapter(Class<T> componentType, org.picocontainer.NameBinding componentNameBinding)
getComponentAdapter
in interface org.picocontainer.PicoContainer
public <T> org.picocontainer.ComponentAdapter<T> getComponentAdapter(Class<T> componentType, Class<? extends Annotation> binding)
getComponentAdapter
in interface org.picocontainer.PicoContainer
public Collection<org.picocontainer.ComponentAdapter<?>> getComponentAdapters()
getComponentAdapters
in interface org.picocontainer.PicoContainer
public <T> List<org.picocontainer.ComponentAdapter<T>> getComponentAdapters(Class<T> componentType)
getComponentAdapters
in interface org.picocontainer.PicoContainer
public <T> List<org.picocontainer.ComponentAdapter<T>> getComponentAdapters(Class<T> componentType, Class<? extends Annotation> binding)
getComponentAdapters
in interface org.picocontainer.PicoContainer
public <T> List<T> getComponents(Class<T> componentType)
getComponents
in interface org.picocontainer.PicoContainer
public void accept(org.picocontainer.PicoVisitor visitor)
accept
in interface org.picocontainer.PicoContainer
public void start()
start
in interface org.picocontainer.Startable
public void stop()
stop
in interface org.picocontainer.Startable
public void dispose()
dispose
in interface org.picocontainer.Disposable
Copyright © 2002-2018 Atlassian. All Rights Reserved.