public class ServletConfigPropertySource extends EnumerablePropertySource<ServletConfigEE>
ServletConfigEE オブジェクトから初期化パラメーターを読み取る PropertySource。ServletContextPropertySourcePropertySource.StubPropertySourcelogger, name, source| コンストラクターと説明 |
|---|
ServletConfigPropertySource(StringSE name, ServletConfigEE servletConfig) |
| 修飾子と型 | メソッドと説明 |
|---|---|
StringSE | getProperty(StringSE name) 指定された名前に関連付けられた値を返します。見つからない場合は null を返します。 |
StringSE[] | getPropertyNames() ソースオブジェクトに含まれるすべてのプロパティの名前を返します( null は決してしないでください)。 |
containsPropertyequals, getName, getSource, hashCode, named, toStringcloneSE, finalizeSE, getClassSE, notifySE, notifyAllSE, waitSE, waitSE, waitSEpublic ServletConfigPropertySource(StringSE name, ServletConfigEE servletConfig)
public StringSE[] getPropertyNames()
EnumerablePropertySourcenull は決してしないでください)。EnumerablePropertySource<ServletConfigEE> の getPropertyNames @Nullable public StringSE getProperty(StringSE name)
PropertySourcenull を返します。PropertySource<ServletConfigEE> の getProperty name - 検索するプロパティ PropertyResolver.getRequiredProperty(String)