org.apache.avalon.excalibur.component
クラス DefaultComponentFactory

java.lang.Object
  |
  +--org.apache.avalon.framework.logger.AbstractLoggable
        |
        +--org.apache.avalon.excalibur.component.DefaultComponentFactory
すべての実装インタフェース:
org.apache.avalon.framework.component.Component, org.apache.avalon.framework.logger.Loggable, ObjectFactory, org.apache.avalon.framework.thread.ThreadSafe

public class DefaultComponentFactory
extends org.apache.avalon.framework.logger.AbstractLoggable
implements ObjectFactory, org.apache.avalon.framework.thread.ThreadSafe

Factory for Avalon components.

導入されたバージョン:
4.0
バージョン:
CVS $Revision: 1.10 $ $Date: 2001/12/11 09:53:27 $
作成者:
Berin Loritsch, Paul Russell

コンストラクタの概要
DefaultComponentFactory(java.lang.Class componentClass, org.apache.avalon.framework.configuration.Configuration configuration, org.apache.avalon.framework.component.ComponentManager componentManager, org.apache.avalon.framework.context.Context context, RoleManager roles, LogKitManager logkit)
          Construct a new component factory for the specified component.
 
メソッドの概要
 void decommission(java.lang.Object component)
           
 java.lang.Class getCreatedClass()
           
protected  org.apache.avalon.framework.logger.Logger getLogEnabledLogger()
           
 java.lang.Object newInstance()
           
 
クラス 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
 

コンストラクタの詳細

DefaultComponentFactory

public DefaultComponentFactory(java.lang.Class componentClass,
                               org.apache.avalon.framework.configuration.Configuration configuration,
                               org.apache.avalon.framework.component.ComponentManager componentManager,
                               org.apache.avalon.framework.context.Context context,
                               RoleManager roles,
                               LogKitManager logkit)
Construct a new component factory for the specified component.
パラメータ:
componentClass - the class to instantiate (must have a default constructor).
configuration - the Configuration object to pass to new instances.
componentManager - the component manager to pass to Composables.
context - the Context to pass to Contexutalizables.
roles - the RoleManager to pass to DefaultComponentSelectors.
メソッドの詳細

newInstance

public java.lang.Object newInstance()
                             throws java.lang.Exception
定義:
インタフェース ObjectFactory 内の newInstance

getCreatedClass

public final java.lang.Class getCreatedClass()
定義:
インタフェース ObjectFactory 内の getCreatedClass

decommission

public final void decommission(java.lang.Object component)
                        throws java.lang.Exception
定義:
インタフェース ObjectFactory 内の decommission

getLogEnabledLogger

protected org.apache.avalon.framework.logger.Logger getLogEnabledLogger()


"Copyright ? 2001 Apache Jakarta Project. All Rights Reserved."