|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectjp.sourceforge.livez.util.SpringUtils
public final class SpringUtils
Live Z の Spring Framework 用のユーティリティクラスです。
メソッドの概要 | |
---|---|
static Object |
getBean(BeanFactory factory,
String id)
指定された BeanFactory から指定されたビーンIDに一致するオブジェクトを返します。 |
static Object |
getRequiredBean(BeanFactory factory,
String id)
指定された BeanFactory から指定されたビーンIDに一致するオブジェクトを返します。 |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
メソッドの詳細 |
---|
public static Object getRequiredBean(BeanFactory factory, String id) throws BeansException
null
の場合は null
を返します。
factory
- BeanFactoryid
- ビーンID
null
BeansException
- 指定されたビーンIDが見つからない場合public static Object getBean(BeanFactory factory, String id)
null
の場合や指定されたビーンIDが見つからない場合は null
を返します。
factory
- BeanFactoryid
- ビーンID
null
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |