|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.avalon.framework.logger.AbstractLoggable | +--org.apache.avalon.excalibur.component.ExcaliburComponentSelector
Default component selector for Avalon's components.
Field Summary | |
protected org.apache.avalon.framework.context.Context |
m_context
The application context for components |
Constructor Summary | |
ExcaliburComponentSelector()
Create the ComponentSelector |
|
ExcaliburComponentSelector(java.lang.ClassLoader loader)
Create the ComponentSelector with a Classloader |
Method Summary | |
void |
addComponent(java.lang.Object hint,
java.lang.Class component,
org.apache.avalon.framework.configuration.Configuration configuration)
Add a new component to the manager. |
void |
addComponentInstance(java.lang.Object hint,
org.apache.avalon.framework.component.Component instance)
Add a static instance of a component to the manager. |
void |
compose(org.apache.avalon.framework.component.ComponentManager componentManager)
Compose the ComponentSelector so that we know what the parent ComponentManager is. |
void |
configure(org.apache.avalon.framework.configuration.Configuration configuration)
Default Configuration handler for ComponentSelector. |
void |
contextualize(org.apache.avalon.framework.context.Context context)
Provide the application Context. |
void |
dispose()
Properly dispose of all the ComponentHandlers. |
boolean |
hasComponent(java.lang.Object hint)
Tests for existence of a component. |
void |
initialize()
Properly initialize of the Child handlers. |
void |
release(org.apache.avalon.framework.component.Component component)
Release the Component to the propper ComponentHandler. |
org.apache.avalon.framework.component.Component |
select(java.lang.Object hint)
Return an instance of a component based on a hint. |
void |
setLogKitManager(LogKitManager logkit)
Configure the LogKitManager |
void |
setRoleManager(RoleManager roles)
Configure the RoleManager |
Methods inherited from class org.apache.avalon.framework.logger.AbstractLoggable |
getLogger, setLogger, setupLogger, setupLogger, setupLogger |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected org.apache.avalon.framework.context.Context m_context
Constructor Detail |
public ExcaliburComponentSelector()
public ExcaliburComponentSelector(java.lang.ClassLoader loader)
Method Detail |
public void contextualize(org.apache.avalon.framework.context.Context context)
contextualize
in interface org.apache.avalon.framework.context.Contextualizable
public void compose(org.apache.avalon.framework.component.ComponentManager componentManager) throws org.apache.avalon.framework.component.ComponentException
compose
in interface org.apache.avalon.framework.component.Composable
public void initialize()
initialize
in interface org.apache.avalon.framework.activity.Initializable
public boolean hasComponent(java.lang.Object hint)
hasComponent
in interface org.apache.avalon.framework.component.ComponentSelector
public void dispose()
dispose
in interface org.apache.avalon.framework.activity.Disposable
public org.apache.avalon.framework.component.Component select(java.lang.Object hint) throws org.apache.avalon.framework.component.ComponentException
select
in interface org.apache.avalon.framework.component.ComponentSelector
public void configure(org.apache.avalon.framework.configuration.Configuration configuration) throws org.apache.avalon.framework.configuration.ConfigurationException
configure
in interface org.apache.avalon.framework.configuration.Configurable
public void setRoleManager(RoleManager roles)
setRoleManager
in interface RoleManageable
public void setLogKitManager(LogKitManager logkit)
setLogKitManager
in interface LogKitManageable
public void release(org.apache.avalon.framework.component.Component component)
release
in interface org.apache.avalon.framework.component.ComponentSelector
public void addComponent(java.lang.Object hint, java.lang.Class component, org.apache.avalon.framework.configuration.Configuration configuration) throws org.apache.avalon.framework.component.ComponentException
hint
- the hint name for the new component.component
- the class of this component.Configuration
- the configuration for this component.public void addComponentInstance(java.lang.Object hint, org.apache.avalon.framework.component.Component instance)
hint
- the hint for the component.instance
- the instance of the component.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |