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
クラス 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.