public class SimpleJaxWsServiceExporter extends AbstractJaxWsServiceExporter
WebServiceSE アノテーションを介して)自動検出し、JAX-WS プロバイダーの組み込みパブリケーションサポートを使用して、構成済みのベースアドレス(デフォルトでは "http://localhost:8080/")でエクスポートします。各サービスの完全なアドレスは、サービス名が追加されたベースアドレスで構成されます(例: "http://localhost:8080/OrderService")。このエクスポーターは、JAX-WS ランタイムがアドレス引数を使用した公開を実際にサポートしている場合、つまり JAX-WS ランタイムが内部 HTTP サーバーを提供している場合にのみ機能することに注意してください。
WebServiceSE, Endpoint.publish(String)SE| 修飾子と型 | フィールドと説明 |
|---|---|
static StringSE | DEFAULT_BASE_ADDRESS デフォルトのベースアドレス。 |
| コンストラクターと説明 |
|---|
SimpleJaxWsServiceExporter() |
| 修飾子と型 | メソッドと説明 |
|---|---|
protected StringSE | calculateEndpointAddress(EndpointSE endpoint, StringSE serviceName) 指定されたエンドポイントの完全なエンドポイントアドレスを計算します。 |
protected void | publishEndpoint(EndpointSE endpoint, WebServiceSE annotation) 指定されたエンドポイントを実際に公開します。 |
protected void | publishEndpoint(EndpointSE endpoint, WebServiceProviderSE annotation) 指定されたプロバイダーのエンドポイントを実際に公開します。 |
void | setBaseAddress(StringSE baseAddress) エクスポートされたサービスのベースアドレスを設定します。 |
afterPropertiesSet, createEndpoint, destroy, publishEndpoints, setBeanFactory, setBindingType, setEndpointFeatures, setEndpointProperties, setExecutorcloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSEpublic void setBaseAddress(StringSE baseAddress)
実際の発行アドレスごとに、サービス名がこのベースアドレスに追加されます。例: サービス名 "OrderService" → "http://localhost:8080/OrderService"。
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 StringSE calculateEndpointAddress(EndpointSE endpoint, StringSE serviceName)
endpoint - JAX-WS プロバイダーエンドポイントオブジェクト serviceName - 指定されたサービス名