SimpleJaxWsServiceExporter を推奨 @DeprecatedSE @UsesSunHttpServer public class SimpleHttpServerJaxWsServiceExporter extends AbstractJaxWsServiceExporter
WebServiceSE アノテーションを介して)自動検出し、Sun の JDK 1.6 に含まれている HTTP サーバーを介してエクスポートします。各サービスの完全なアドレスは、サーバーのベースアドレスにサービス名が追加されたもので構成されます(例: "http://localhost:8080/OrderService")。 このエクスポーターは、Sun の JDK 1.6 以降、および SunJDK に含まれている Sun のクラスライブラリ全体を提供する JDK でのみ機能することに注意してください。ポータブル JAX-WS エクスポーターについては、SimpleJaxWsServiceExporter を参照してください。
WebServiceSE, Endpoint.publish(Object)SE, SimpleJaxWsServiceExporter| コンストラクターと説明 |
|---|
SimpleHttpServerJaxWsServiceExporter() 使用すべきではありません。 |
| 修飾子と型 | メソッドと説明 |
|---|---|
void | afterPropertiesSet() 使用すべきではありません。 完全に構成されたら、すべてのエンドポイントをすぐに公開します。 |
protected com.sun.net.httpserver.HttpContext | buildHttpContext(EndpointSE endpoint, StringSE serviceName) 使用すべきではありません。 指定されたエンドポイントの HttpContext をビルドします。 |
protected StringSE | calculateEndpointPath(EndpointSE endpoint, StringSE serviceName) 使用すべきではありません。 指定されたエンドポイントの完全なエンドポイントパスを計算します。 |
void | destroy() 使用すべきではありません。 公開されているすべてのエンドポイントを停止し、Web サービスをオフラインにします。 |
protected void | publishEndpoint(EndpointSE endpoint, WebServiceSE annotation) 使用すべきではありません。 指定されたエンドポイントを実際に公開します。 |
protected void | publishEndpoint(EndpointSE endpoint, WebServiceProviderSE annotation) 使用すべきではありません。 指定されたプロバイダーのエンドポイントを実際に公開します。 |
void | setAuthenticator(com.sun.net.httpserver.Authenticator authenticator) 使用すべきではありません。 検出されたすべての WebServiceSE アノテーション付き Bean に適用される共通の Authenticator を登録します。 |
void | setBacklog(int backlog) 使用すべきではありません。 HTTP サーバーの TCP バックログを指定します。 |
void | setBasePath(StringSE basePath) 使用すべきではありません。 コンテキスト公開のベースパスを設定します。 |
void | setFilters(ListSE<com.sun.net.httpserver.Filter> filters) 使用すべきではありません。 検出されたすべての WebServiceSE アノテーション付き Bean に適用される共通の Filters を登録します。 |
void | setHostname(StringSE hostname) 使用すべきではありません。 バインドする HTTP サーバーのホスト名を指定します。 |
void | setPort(int port) 使用すべきではありません。 HTTP サーバーのポートを指定します。 |
void | setServer(com.sun.net.httpserver.HttpServer server) 使用すべきではありません。 Web サービスコンテキストを登録する既存の HTTP サーバーを指定します。 |
void | setShutdownDelay(int shutdownDelay) 使用すべきではありません。 HTTP サーバーのシャットダウン時に HTTP 交換が完了するまで待機する秒数を指定します。 |
createEndpoint, publishEndpoints, setBeanFactory, setBindingType, setEndpointFeatures, setEndpointProperties, setExecutorcloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSEprotected final Log logger
public SimpleHttpServerJaxWsServiceExporter()
public void setServer(com.sun.net.httpserver.HttpServer server)
SimpleHttpServerFactoryBean によって管理されるサーバーになります。 または、"port"、"hostname"、"backlog" プロパティを使用してローカル HTTP サーバーを構成します(または、デフォルトに依存します)。
public void setPort(int port)
ローカルに構成された HTTP サーバーにのみ適用されます。"server" プロパティが指定されている場合は無視されます。
public void setHostname(StringSE hostname)
ローカルに構成された HTTP サーバーにのみ適用されます。"server" プロパティが指定されている場合は無視されます。
public void setBacklog(int backlog)
ローカルに構成された HTTP サーバーにのみ適用されます。"server" プロパティが指定されている場合は無視されます。
public void setShutdownDelay(int shutdownDelay)
ローカルに構成された HTTP サーバーにのみ適用されます。"server" プロパティが指定されている場合は無視されます。
public void setBasePath(StringSE basePath)
コンテキスト公開パスごとに、サービス名がこのベースアドレスに追加されます。例: サービス名 "OrderService" -> "/OrderService"。
public void setFilters(ListSE<com.sun.net.httpserver.Filter> filters)
WebServiceSE アノテーション付き Bean に適用される共通の Filters を登録します。public void setAuthenticator(com.sun.net.httpserver.Authenticator authenticator)
WebServiceSE アノテーション付き Bean に適用される共通の Authenticator を登録します。public void afterPropertiesSet()
throws ExceptionSEAbstractJaxWsServiceExporterInitializingBean の afterPropertiesSet AbstractJaxWsServiceExporter の afterPropertiesSet ExceptionSE - 構成の誤り(必須プロパティの設定の失敗など)の場合、またはその他の理由で初期化が失敗した場合 AbstractJaxWsServiceExporter.publishEndpoints()protected void publishEndpoint(EndpointSE endpoint, WebServiceSE annotation)
AbstractJaxWsServiceExporterAbstractJaxWsServiceExporter の publishEndpoint endpoint - JAX-WS エンドポイントオブジェクト annotation - サービス Bean の WebService アノテーション protected void publishEndpoint(EndpointSE endpoint, WebServiceProviderSE annotation)
AbstractJaxWsServiceExporterAbstractJaxWsServiceExporter の publishEndpoint endpoint - JAX-WS プロバイダーエンドポイントオブジェクト annotation - サービス Bean の WebServiceProvider アノテーション protected com.sun.net.httpserver.HttpContext buildHttpContext(EndpointSE endpoint, StringSE serviceName)
endpoint - JAX-WS プロバイダーエンドポイントオブジェクト serviceName - 指定されたサービス名 protected StringSE calculateEndpointPath(EndpointSE endpoint, StringSE serviceName)
endpoint - JAX-WS プロバイダーエンドポイントオブジェクト serviceName - 指定されたサービス名 public void destroy()
AbstractJaxWsServiceExporterDisposableBean の destroy AbstractJaxWsServiceExporter の destroy