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