|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.unitedfront2.domain.SpringBeanDomainFactory
public class SpringBeanDomainFactory
DomainFactory の Spring Framework DI コンテナ実装です。
| Field Summary | |
|---|---|
protected Log |
logger
ログ |
| Constructor Summary | |
|---|---|
SpringBeanDomainFactory()
|
|
| Method Summary | ||
|---|---|---|
|
prototype(Class<?> domainClass,
Class<T> requiredType)
ドメインオブジェクトが動作するために必須となるいくつかの非永続プロパティに値が設定された後の、新しい ドメインオブジェクトを返します。非永続プロパティとは、 transient で修飾されたプロ
パティです。 |
|
|
prototype(Class<D> domainClass)
ドメインオブジェクトが動作するために必須となるいくつかの非永続プロパティに値が設定された後の、新しい ドメインオブジェクトを返します。非永続プロパティとは、 transient で修飾されたプロ
パティです。 |
|
|
prototype(D orig)
ドメインオブジェクトが動作するために必須となるいくつかの非永続プロパティに値が設定された後の、新しい ドメインオブジェクトを返します。返されるドメインオブジェクトには、引数で渡したドメインオブジェクトのプロパ ティが設定されます。引き渡したコピー元のドメインオブジェクトの状態は変化しません。 |
|
|
prototype(Object domainObject,
Class<T> clazz)
ドメインオブジェクトが動作するために必須となるいくつかの非永続プロパティに値が設定された後の、新しい ドメインオブジェクトを返します。返されるドメインオブジェクトには、引数で渡したドメインオブジェクトのプロパ ティが設定されます。引き渡したコピー元のドメインオブジェクトの状態は変化しません。 |
|
void |
setApplicationContext(ApplicationContext applicationContext)
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final Log logger
| Constructor Detail |
|---|
public SpringBeanDomainFactory()
| Method Detail |
|---|
public <D extends Domain> D prototype(Class<D> domainClass)
DomainFactorytransient で修飾されたプロ
パティです。
prototype in interface DomainFactorydomainClass - ドメインクラス
public <T> T prototype(Class<?> domainClass,
Class<T> requiredType)
throws IllegalArgumentException
DomainFactorytransient で修飾されたプロ
パティです。
prototype in interface DomainFactoryT - 期待する型domainClass - ドメインクラスrequiredType - 期待する型
IllegalArgumentExceptionpublic <D> D prototype(D orig)
DomainFactory
prototype in interface DomainFactoryD - ドメインクラスorig - コピー元のドメインオブジェクト
public <T> T prototype(Object domainObject,
Class<T> clazz)
throws IllegalArgumentException
DomainFactory
prototype in interface DomainFactoryT - ドメインクラスdomainObject - コピー元のドメインオブジェクトclazz - 期待する型
IllegalArgumentException
public void setApplicationContext(ApplicationContext applicationContext)
throws BeansException
setApplicationContext in interface ApplicationContextAwareBeansException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||