Package | Description |
---|---|
org.apache.avalon.framework.component |
Deprecated: use the interfaces in the
org.apache.avalon.framework.service package instead. |
Modifier and Type | Interface and Description |
---|---|
interface |
ComponentSelector
A
ComponentSelector selects Component s based on a
hint. |
Modifier and Type | Class and Description |
---|---|
class |
DefaultComponentSelector
This is the default implementation of the ComponentSelector.
|
class |
WrapperComponentSelector
This is a
ServiceSelector implementation that can wrap around a legacy
ComponentSelector object effectively adapting a ComponentSelector
interface to a ServiceSelector interface. |
Modifier and Type | Method and Description |
---|---|
Component |
WrapperComponentManager.lookup(String key)
Retrieve a component via a key.
|
Component |
DefaultComponentManager.lookup(String key)
Retrieve Component by key from ComponentManager.
|
Component |
ComponentManager.lookup(String key)
Get the
Component associated with the given key. |
Component |
DefaultComponentSelector.select(Object hint)
Select the desired component.
|
Component |
WrapperComponentSelector.select(Object policy)
Select a Component based on a policy.
|
Component |
ComponentSelector.select(Object hint)
Select the
Component associated with the given hint. |
Modifier and Type | Method and Description |
---|---|
void |
DefaultComponentSelector.put(Object hint,
Component component)
Populate the ComponentSelector.
|
void |
DefaultComponentManager.put(String key,
Component component)
Place Component into ComponentManager.
|
void |
WrapperComponentManager.release(Component component)
Return the
Component when you are finished with it. |
void |
DefaultComponentManager.release(Component component)
Release component.
|
void |
DefaultComponentSelector.release(Component component)
Release component.
|
void |
WrapperComponentSelector.release(Component object)
Return the
Object when you are finished with it. |
void |
ComponentManager.release(Component component)
Return the
Component when you are finished with it. |
void |
ComponentSelector.release(Component component)
Return the
Component when you are finished with it. |
Copyright © 2023. All rights reserved.