|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectorg.seasar.jface.util.S2ContainerUtil
public class S2ContainerUtil
S2Container を利用するためのユーティリティクラスです。
コンストラクタの概要 | |
---|---|
S2ContainerUtil()
|
メソッドの概要 | |
---|---|
static Object |
getComponent(Class componentClass)
指定されたクラスに対応するコンポーネントを S2Container から取得して返します。 |
static org.seasar.framework.container.ComponentDef |
getComponentDef(Class componentClass)
指定されたクラスに対応するコンポーネントを S2Container から取得して返します。 |
static org.seasar.framework.container.ComponentDef |
getComponentDef(String componentName)
指定された名前に対応するコンポーネントを S2Container から取得して返します。 |
static Object |
getComponentNoException(String componentName)
指定された名前に対応するコンポーネントを S2Container から取得して返します。 |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
コンストラクタの詳細 |
---|
public S2ContainerUtil()
メソッドの詳細 |
---|
public static Object getComponentNoException(String componentName)
S2Container
から取得して返します。
コンポーネントが存在しない場合は例外をスローせず、null
を返します。
componentName
- コンポーネント名称
public static org.seasar.framework.container.ComponentDef getComponentDef(String componentName)
S2Container
から取得して返します。
componentName
- コンポーネント名称
public static org.seasar.framework.container.ComponentDef getComponentDef(Class componentClass)
S2Container
から取得して返します。
componentClass
- コンポーネントクラス
public static Object getComponent(Class componentClass)
S2Container
から取得して返します。
componentClass
- コンポーネントクラス
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |