org.seasar.framework.container.creator
クラス ComponentCreatorImpl

java.lang.Object
  拡張org.seasar.framework.container.creator.ComponentCreatorImpl
すべての実装インタフェース:
ComponentCreator
直系の既知のサブクラス:
ActionCreator, ConnectorCreator, ConverterCreator, DaoCreator, DtoCreator, DxoCreator, HelperCreator, InterceptorCreator, LogicCreator, PageCreator, ServiceCreator, ValidatorCreator

public class ComponentCreatorImpl
extends Object
implements ComponentCreator


フィールドの概要
static String autoBindingDef_BINDING
           
static String enableAbstract_BINDING
           
static String enableInterface_BINDING
           
static String externalBinding_BINDING
           
static String instanceDef_BINDING
           
 
コンストラクタの概要
ComponentCreatorImpl(NamingConvention namingConvention)
           
 
メソッドの概要
 ComponentDef createComponentDef(Class componentClass)
          指定されたクラスから、 命名規約に従ってコンポーネント定義を作成します。
 ComponentDef createComponentDef(String componentName)
          指定されたコンポーネント名から、 命名規約に従ってコンポーネント定義を作成します。
protected  void customize(ComponentDef componentDef)
           
 AutoBindingDef getAutoBindingDef()
           
protected  ComponentCustomizer getCustomizer()
           
 InstanceDef getInstanceDef()
           
 String getNameSuffix()
           
 NamingConvention getNamingConvention()
           
 boolean isEnableAbstract()
           
 boolean isEnableInterface()
           
 boolean isExternalBinding()
           
 boolean isTargetComponentName(String componentName)
           
 void setAutoBindingDef(AutoBindingDef autoBindingDef)
           
protected  void setCustomizer(ComponentCustomizer customizer)
           
 void setEnableAbstract(boolean enableAbstract)
           
 void setEnableInterface(boolean enableInterface)
           
 void setExternalBinding(boolean externalBinding)
           
 void setInstanceDef(InstanceDef instanceDef)
           
 void setNameSuffix(String nameSuffix)
           
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

instanceDef_BINDING

public static final String instanceDef_BINDING
関連項目:
定数フィールド値

autoBindingDef_BINDING

public static final String autoBindingDef_BINDING
関連項目:
定数フィールド値

externalBinding_BINDING

public static final String externalBinding_BINDING
関連項目:
定数フィールド値

enableInterface_BINDING

public static final String enableInterface_BINDING
関連項目:
定数フィールド値

enableAbstract_BINDING

public static final String enableAbstract_BINDING
関連項目:
定数フィールド値
コンストラクタの詳細

ComponentCreatorImpl

public ComponentCreatorImpl(NamingConvention namingConvention)
メソッドの詳細

getNamingConvention

public NamingConvention getNamingConvention()

getInstanceDef

public InstanceDef getInstanceDef()

setInstanceDef

public void setInstanceDef(InstanceDef instanceDef)

getAutoBindingDef

public AutoBindingDef getAutoBindingDef()

setAutoBindingDef

public void setAutoBindingDef(AutoBindingDef autoBindingDef)

isExternalBinding

public boolean isExternalBinding()

setExternalBinding

public void setExternalBinding(boolean externalBinding)

isEnableInterface

public boolean isEnableInterface()

setEnableInterface

public void setEnableInterface(boolean enableInterface)

isEnableAbstract

public boolean isEnableAbstract()

setEnableAbstract

public void setEnableAbstract(boolean enableAbstract)

getNameSuffix

public String getNameSuffix()

setNameSuffix

public void setNameSuffix(String nameSuffix)

getCustomizer

protected ComponentCustomizer getCustomizer()

setCustomizer

protected void setCustomizer(ComponentCustomizer customizer)

createComponentDef

public ComponentDef createComponentDef(Class componentClass)
インタフェース ComponentCreator の記述:
指定されたクラスから、 命名規約に従ってコンポーネント定義を作成します。

定義:
インタフェース ComponentCreator 内の createComponentDef
パラメータ:
componentClass - コンポーネント定義を作成する対象のクラス
戻り値:
作成されたコンポーネント定義。 指定されたクラスがこのCreatorの対象でなかった場合は、 nullを返す

createComponentDef

public ComponentDef createComponentDef(String componentName)
インタフェース ComponentCreator の記述:
指定されたコンポーネント名から、 命名規約に従ってコンポーネント定義を作成します。

定義:
インタフェース ComponentCreator 内の createComponentDef
パラメータ:
componentName - コンポーネント定義を作成する対象のコンポーネント名
戻り値:
作成されたコンポーネント定義。 指定されたクラスがこのCreatorの対象でなかった場合、 またはコンポーネント名に対応するクラスが存在しなかった場合は、 nullを返す
関連項目:
NamingConvention.fromComponentNameToClass(String)

isTargetComponentName

public boolean isTargetComponentName(String componentName)

customize

protected void customize(ComponentDef componentDef)


Copyright © 2004-2006 The Seasar Foundation. All Rights Reserved.