public abstract class RegistrationBean extends ObjectSE implements ServletContextInitializer, org.springframework.core.Ordered
ServletRegistrationBean, FilterRegistrationBean, DelegatingFilterProxyRegistrationBean, ServletListenerRegistrationBean| コンストラクターと説明 |
|---|
RegistrationBean() |
| 修飾子と型 | メソッドと説明 |
|---|---|
protected abstract StringSE | getDescription() 登録の説明を返します。 |
int | getOrder() 登録 Bean のオーダーを取得します。 |
boolean | isEnabled() 登録が有効な場合に戻ります。 |
void | onStartup(ServletContextEE servletContext) 指定された ServletContextEE を、初期化に必要なサーブレット、フィルター、リスナー context-params および属性で構成します。 |
protected abstract void | register(StringSE description, ServletContextEE servletContext) この Bean をサーブレットコンテキストに登録します。 |
void | setEnabled(boolean enabled) 登録が有効であることを示すフラグ。 |
void | setOrder(int order) 登録 Bean の順序を設定します。 |
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSEpublic final void onStartup(ServletContextEE servletContext) throws ServletExceptionEE
ServletContextInitializerServletContextEE を、初期化に必要なサーブレット、フィルター、リスナー context-params および属性で構成します。ServletContextInitializer 内の onStartup servletContext - 初期化する ServletContext ServletExceptionEE - 指定された ServletContext に対する呼び出しが ServletException をスローした場合 protected abstract StringSE getDescription()
protected abstract void register(StringSE description, ServletContextEE servletContext)
description - 登録されているアイテムの説明 servletContext - サーブレットコンテキスト public void setEnabled(boolean enabled)
enabled - 設定可能 public boolean isEnabled()
true)public void setOrder(int order)
order - オーダー public int getOrder()
org.springframework.core.Ordered 内の getOrder Copyright © 2019 Pivotal Software, Inc.. All rights reserved.