org.unitedfront2.domain
クラス SpringBeanDomainFactory
java.lang.Object
org.unitedfront2.domain.SpringBeanDomainFactory
- すべての実装されたインタフェース:
- ApplicationContextAware, DomainFactory
public class SpringBeanDomainFactory
- extends Object
- implements DomainFactory, ApplicationContextAware
DomainFactory の Spring Framework DI コンテナ実装です。
- 作成者:
- kurokkie
| クラス java.lang.Object から継承されたメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected final Log logger
- ログ
SpringBeanDomainFactory
public SpringBeanDomainFactory()
prototype
public <D extends Domain> D prototype(Class<D> domainClass)
- インタフェース
DomainFactory の記述:
- ドメインオブジェクトが動作するために必須となるいくつかの非永続プロパティに値が設定された後の、新しい
ドメインオブジェクトを返します。非永続プロパティとは、
transient で修飾されたプロ
パティです。
- 定義:
- インタフェース
DomainFactory 内の prototype
- 戻り値:
- ドメインオブジェクトのプロトタイプ
prototype
public <D extends Domain> D prototype(D domainObject)
- ${domainObject} の非永続化プロパティも複製先ドメインオブジェクトにコピーされる点に注意してくださ
い。
- 定義:
- インタフェース
DomainFactory 内の prototype
- パラメータ:
domainObject - コピー元のドメインオブジェクト
- 戻り値:
- コピー元のドメインオブジェクトが持つプロパティの値が設定された、ドメインオブジェクトのプロトタ
イプ
setApplicationContext
public void setApplicationContext(ApplicationContext applicationContext)
throws BeansException
- 定義:
- インタフェース
ApplicationContextAware 内の setApplicationContext
- 例外:
BeansException
Copyright © 2007-2008 www.unitedfront2.org. All Rights Reserved.