ComponentAdapter
s,
which are similar to Spring's FactoryBean
.See: Description
Class | Description |
---|---|
AbstractComponentAdaptor<T> |
A convenience class for implementing a Pico
ComponentAdapter . |
AbstractSwitchingInvocationAdaptor<T> |
A Pico
ComponentAdapter that returns a JDK dynamic
proxy that in turn switches between two possible implementations (an
"enabled" one and a "disabled" one), based on the return value of a given
InvocationSwitcher . |
AppPropertiesComponentAdaptor<T> |
A Pico
ComponentAdapter that switches between two implementations of
a given interface based on whether a particular flag is set in ApplicationProperties . |
KeyedDelegateComponentAdapter<T> |
Registers a single class instance against multiple keys in a
PicoContainer . |
SimpleSwitchingComponentAdaptor<T> |
A simple component adapter that will pull the implementation of the object from the container.
|
ComponentAdapter
s,
which are similar to Spring's FactoryBean
.
ComponentAdapter
s are registered in Pico under some key,
usually the interface class.Copyright © 2002-2023 Atlassian. All Rights Reserved.