D
- 動的登録結果 public abstract class DynamicRegistrationBean<D extends Registration.DynamicEE> extends RegistrationBean
dynamic
EE ベースの登録 Bean の基本クラス。HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
コンストラクターと説明 |
---|
DynamicRegistrationBean() |
修飾子と型 | メソッドと説明 |
---|---|
void | addInitParameter(StringSE name, StringSE value) 単一の init-parameter を追加し、既存のパラメーターを同じ名前で置き換えます。 |
protected abstract D | addRegistration(StringSE description, ServletContextEE servletContext) |
protected void | configure(D registration) |
MapSE<StringSE, StringSE> | getInitParameters() 登録初期パラメーターの変更可能なマップを返します。 |
protected StringSE | getOrDeduceName(ObjectSE value) この登録の名前を推定します。 |
boolean | isAsyncSupported() この登録で非同期操作がサポートされているかどうかを返します。 |
protected void | register(StringSE description, ServletContextEE servletContext) この Bean をサーブレットコンテキストに登録します。 |
void | setAsyncSupported(boolean asyncSupported) この登録で非同期操作がサポートされるかどうかを設定します。 |
void | setInitParameters(MapSE<StringSE, StringSE> initParameters) この登録の init-parameters を設定します。 |
void | setName(StringSE name) この登録の名前を設定します。 |
getDescription, getOrder, isEnabled, onStartup, setEnabled, setOrder
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSE
public void setName(StringSE name)
name
- 登録の名前 public void setAsyncSupported(boolean asyncSupported)
true
になります。asyncSupported
- 非同期がサポートされている場合 public boolean isAsyncSupported()
public void setInitParameters(MapSE<StringSE,StringSE> initParameters)
initParameters
- 初期化パラメーター getInitParameters()
, addInitParameter(java.lang.String, java.lang.String)
public MapSE<StringSE,StringSE> getInitParameters()
public void addInitParameter(StringSE name, StringSE value)
name
- 初期パラメーター名 value
- 初期パラメーター値 protected final void register(StringSE description, ServletContextEE servletContext)
RegistrationBean
RegistrationBean
の register
description
- 登録されているアイテムの説明 servletContext
- サーブレットコンテキスト protected abstract D addRegistration(StringSE description, ServletContextEE servletContext)
protected void configure(D registration)
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.