public abstract class AbstractJaxWsServiceExporter extends ObjectSE implements BeanFactoryAware, InitializingBean, DisposableBean
WebService
SE アノテーションを使用)。 サブクラスは、実際のエンドポイント公開のために publishEndpoint(javax.xml.ws.Endpoint, javax.jws.WebService)
テンプレートメソッドを実装する必要があります。
WebService
SE, Endpoint
SE, SimpleJaxWsServiceExporter
コンストラクターと説明 |
---|
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 内のすべての WebService SE アノテーション付き Bean を公開します。 |
void | setBeanFactory(BeanFactory beanFactory) すべての Web サービス Bean を取得し、JAX-WS エンドポイントとして公開します。 |
void | setBindingType(StringSE bindingType) 使用するバインディング型を指定して、JAX-WS BindingType SE アノテーションの値をオーバーライドします。 |
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, waitSE
public void setEndpointProperties(MapSE<StringSE,ObjectSE> endpointProperties)
public void setExecutor(ExecutorSE executor)
public void setBindingType(StringSE bindingType)
BindingType
SE アノテーションの値をオーバーライドします。public void setEndpointFeatures(WebServiceFeatureSE... endpointFeatures)
public void setBeanFactory(BeanFactory beanFactory)
BeanFactoryAware
の setBeanFactory
beanFactory
- 所有 BeanFactory(非 null
)。Bean は、ファクトリのメソッドをすぐに呼び出すことができます。BeanInitializationException
public void afterPropertiesSet() throws ExceptionSE
InitializingBean
の afterPropertiesSet
ExceptionSE
- 構成の誤り(必須プロパティの設定の失敗など)の場合、またはその他の理由で初期化が失敗した場合 publishEndpoints()
public void publishEndpoints()
WebService
SE アノテーション付き 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