public class SimpleBeanTargetSource extends AbstractBeanFactoryBasedTargetSource
TargetSource
実装。これを含む Spring BeanFactory
から指定されたターゲット Bean を新たに取得します。あらゆる種類のターゲット Bean(シングルトン、スコープ、プロトタイプ)を取得できます。通常、スコープ付き Bean に使用されます。
logger
コンストラクターと説明 |
---|
SimpleBeanTargetSource() |
修飾子と型 | メソッドと説明 |
---|---|
ObjectSE | getTarget() ターゲットインスタンスを返します。 |
copyFrom, equals, getBeanFactory, getTargetBeanName, getTargetClass, hashCode, isStatic, releaseTarget, setBeanFactory, setTargetBeanName, setTargetClass, toString
cloneSE, finalizeSE, getClassSE, notifySE, notifyAllSE, waitSE, waitSE, waitSE
public ObjectSE getTarget() throws ExceptionSE
TargetSource
null
ExceptionSE
- ターゲットオブジェクトを解決できない場合