public class PicoComponentRegistry extends AbstractComponentRegistry
| Modifier and Type | Class and Description |
|---|---|
static class |
PicoComponentRegistry.AttributeSetterComponentMonitor |
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CONTAINER_SESSION_KEY |
| Constructor and Description |
|---|
PicoComponentRegistry(org.picocontainer.MutablePicoContainer container,
ComponentFactoryRegistry componentFactoryRegistry) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<java.lang.Class<?>> |
getAllRegisteredApplicationScopedComponents() |
void |
init()
Registers all application scoped elements into the container.
|
void |
register(java.lang.Class<?> requiredType,
java.lang.Class<?> type)
Registers a component to be used only when the required type is required.
|
deepRegisterpublic PicoComponentRegistry(org.picocontainer.MutablePicoContainer container,
ComponentFactoryRegistry componentFactoryRegistry)
public void register(java.lang.Class<?> requiredType,
java.lang.Class<?> type)
ComponentRegistrytype - the component typepublic void init()
public java.util.Collection<java.lang.Class<?>> getAllRegisteredApplicationScopedComponents()
Copyright © 2013 Caelum. All Rights Reserved.