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