public abstract class AbstractJaxWsServiceExporter extends ObjectSE implements BeanFactoryAware, InitializingBean, DisposableBean
WebServiceSE アノテーションを使用)。 サブクラスは、実際のエンドポイント公開のために publishEndpoint(javax.xml.ws.Endpoint, javax.jws.WebService) テンプレートメソッドを実装する必要があります。
WebServiceSE, EndpointSE, SimpleJaxWsServiceExporter, SimpleHttpServerJaxWsServiceExporter| コンストラクターと説明 |
|---|
AbstractJaxWsServiceExporter() |
| 修飾子と型 | メソッドと説明 |
|---|---|
void | afterPropertiesSet() 完全に構成されたら、すべてのエンドポイントをすぐに公開します。 |
protected EndpointSE | createEndpoint(ObjectSE bean) 実際のエンドポイントインスタンスを作成します。 |
void | destroy() 公開されているすべてのエンドポイントを停止し、Web サービスをオフラインにします。 |
protected abstract void | publishEndpoint(EndpointSE endpoint, WebServiceSE annotation) 指定されたエンドポイントを実際に公開します。 |
protected abstract void | publishEndpoint(EndpointSE endpoint, WebServiceProviderSE annotation) 指定されたプロバイダーのエンドポイントを実際に公開します。 |
void | publishEndpoints() 含まれている BeanFactory 内のすべての WebServiceSE アノテーション付き Bean を公開します。 |
void | setBeanFactory(BeanFactory beanFactory) すべての Web サービス Bean を取得し、JAX-WS エンドポイントとして公開します。 |
void | setBindingType(StringSE bindingType) 使用するバインディング型を指定して、JAX-WS BindingTypeSE アノテーションの値をオーバーライドします。 |
void | setEndpointFeatures(WebServiceFeatureSE... endpointFeatures)WebServiceFeature オブジェクトを指定します(例: |
void | setEndpointProperties(MapSE<StringSE, ObjectSE> endpointProperties)"javax.xml.ws.wsdl.service" や "javax.xml.ws.wsdl.port" などのプロパティを含め、エンドポイントのプロパティバッグを設定します。 |
void | setExecutor(ExecutorSE executor) エクスポートされたサービスインスタンスへの受信リクエストのディスパッチに使用する JDK 同時実行プログラムを設定します。 |
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSEpublic void setEndpointProperties(MapSE<StringSE,ObjectSE> endpointProperties)
public void setExecutor(ExecutorSE executor)
public void setBindingType(StringSE bindingType)
BindingTypeSE アノテーションの値をオーバーライドします。public void setEndpointFeatures(WebServiceFeatureSE... endpointFeatures)
public void setBeanFactory(BeanFactory beanFactory)
BeanFactoryAware の setBeanFactory beanFactory - 所有 BeanFactory(非 null)。Bean は、ファクトリのメソッドをすぐに呼び出すことができます。BeanInitializationExceptionpublic void afterPropertiesSet()
throws ExceptionSEInitializingBean の afterPropertiesSet ExceptionSE - 設定ミス(必須プロパティの設定の失敗など)が発生した場合、または初期化が失敗した場合。publishEndpoints()public void publishEndpoints()
WebServiceSE アノテーション付き Bean を公開します。protected EndpointSE createEndpoint(ObjectSE bean)
bean - ラップするサービスオブジェクト Endpoint.create(Object)SE, Endpoint.create(String, Object)SEprotected abstract void publishEndpoint(EndpointSE endpoint, WebServiceSE annotation)
endpoint - JAX-WS エンドポイントオブジェクト annotation - サービス Bean の WebService アノテーション protected abstract void publishEndpoint(EndpointSE endpoint, WebServiceProviderSE annotation)
endpoint - JAX-WS プロバイダーエンドポイントオブジェクト annotation - サービス Bean の WebServiceProvider アノテーション public void destroy()
DisposableBean の destroy