|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 内部クラス | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Object | +--org.apache.avalon.framework.logger.AbstractLoggable | +--org.apache.avalon.excalibur.component.ExcaliburComponentManager
Default component manager for Avalon's components.
コンストラクタの概要 | |
ExcaliburComponentManager()
Create the ComponentManager |
|
ExcaliburComponentManager(java.lang.ClassLoader loader)
Create the ComponentManager with a Classloader |
|
ExcaliburComponentManager(org.apache.avalon.framework.component.ComponentManager manager)
Create the ComponentManager with a parent ComponentManager |
|
ExcaliburComponentManager(org.apache.avalon.framework.component.ComponentManager manager,
java.lang.ClassLoader loader)
Create the ComponentManager with a Classloader and parent ComponentManager |
メソッドの概要 | |
void |
addComponent(java.lang.String role,
java.lang.Class component,
org.apache.avalon.framework.configuration.Configuration configuration)
Add a new component to the manager. |
void |
addComponentInstance(java.lang.String role,
org.apache.avalon.framework.component.Component instance)
Add a static instance of a component to the manager. |
void |
configure(org.apache.avalon.framework.configuration.Configuration configuration)
Configure the ComponentManager. |
void |
contextualize(org.apache.avalon.framework.context.Context context)
Set up the Component's Context. |
void |
dispose()
Properly dispose of the Child handlers. |
boolean |
hasComponent(java.lang.String role)
Tests for existence of a component. |
void |
initialize()
Properly initialize of the Child handlers. |
org.apache.avalon.framework.component.Component |
lookup(java.lang.String role)
Return an instance of a component based on a Role. |
void |
release(org.apache.avalon.framework.component.Component component)
Release a Component. |
void |
setLogKitManager(LogKitManager logkit)
Configure the LogKitManager |
void |
setRoleManager(RoleManager roles)
Configure the RoleManager |
クラス org.apache.avalon.framework.logger.AbstractLoggable から継承したメソッド |
getLogger, setLogger, setupLogger, setupLogger, setupLogger |
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
コンストラクタの詳細 |
public ExcaliburComponentManager()
public ExcaliburComponentManager(java.lang.ClassLoader loader)
public ExcaliburComponentManager(org.apache.avalon.framework.component.ComponentManager manager, java.lang.ClassLoader loader)
public ExcaliburComponentManager(org.apache.avalon.framework.component.ComponentManager manager)
メソッドの詳細 |
public void contextualize(org.apache.avalon.framework.context.Context context)
org.apache.avalon.framework.context.Contextualizable
内の contextualize
public boolean hasComponent(java.lang.String role)
org.apache.avalon.framework.component.ComponentManager
内の hasComponent
public void initialize() throws java.lang.Exception
org.apache.avalon.framework.activity.Initializable
内の initialize
public void dispose()
org.apache.avalon.framework.activity.Disposable
内の dispose
public org.apache.avalon.framework.component.Component lookup(java.lang.String role) throws org.apache.avalon.framework.component.ComponentException
org.apache.avalon.framework.component.ComponentManager
内の lookup
public void configure(org.apache.avalon.framework.configuration.Configuration configuration) throws org.apache.avalon.framework.configuration.ConfigurationException
org.apache.avalon.framework.configuration.Configurable
内の configure
public void setRoleManager(RoleManager roles)
RoleManageable
内の setRoleManager
public void setLogKitManager(LogKitManager logkit)
LogKitManageable
内の setLogKitManager
public void release(org.apache.avalon.framework.component.Component component)
org.apache.avalon.framework.component.ComponentManager
内の release
public void addComponent(java.lang.String role, java.lang.Class component, org.apache.avalon.framework.configuration.Configuration configuration) throws org.apache.avalon.framework.component.ComponentException
role
- the role name for the new component.component
- the class of this component.Configuration
- the configuration for this component.public void addComponentInstance(java.lang.String role, org.apache.avalon.framework.component.Component instance)
role
- the role name for the component.instance
- the instance of the component.
|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 内部クラス | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |