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