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