public abstract class AbstractJaxWsServiceExporter extends java.lang.Object implements BeanFactoryAware, InitializingBean, DisposableBean
WebService
EE アノテーションを使用)。 サブクラスは、実際のエンドポイント公開のために publishEndpoint(javax.xml.ws.Endpoint, javax.jws.WebService)
テンプレートメソッドを実装する必要があります。
WebService
EE, Endpoint
EE, SimpleJaxWsServiceExporter
コンストラクターと説明 |
---|
AbstractJaxWsServiceExporter() |
修飾子と型 | メソッドと説明 |
---|---|
void | afterPropertiesSet() 完全に構成されたら、すべてのエンドポイントをすぐに公開します。 |
protected EndpointEE | createEndpoint(java.lang.Object bean) 実際のエンドポイントインスタンスを作成します。 |
void | destroy() 公開されているすべてのエンドポイントを停止し、Web サービスをオフラインにします。 |
protected abstract void | publishEndpoint(EndpointEE endpoint, WebServiceEE annotation) 指定されたエンドポイントを実際に公開します。 |
protected abstract void | publishEndpoint(EndpointEE endpoint, WebServiceProviderEE annotation) 指定されたプロバイダーのエンドポイントを実際に公開します。 |
void | publishEndpoints() 含まれている BeanFactory 内のすべての WebService EE アノテーション付き Bean を公開します。 |
void | setBeanFactory(BeanFactory beanFactory) すべての Web サービス Bean を取得し、JAX-WS エンドポイントとして公開します。 |
void | setBindingType(java.lang.String bindingType) 使用するバインディング型を指定して、JAX-WS BindingType EE アノテーションの値をオーバーライドします。 |
void | setEndpointFeatures(WebServiceFeatureEE... endpointFeatures) WebServiceFeature オブジェクトを指定します(例: |
void | setEndpointProperties(java.util.Map<java.lang.String,java.lang.Object> endpointProperties) "javax.xml.ws.wsdl.service" や "javax.xml.ws.wsdl.port" などのプロパティを含め、エンドポイントのプロパティバッグを設定します。 |
void | setExecutor(java.util.concurrent.Executor executor) エクスポートされたサービスインスタンスへの受信リクエストのディスパッチに使用する JDK 同時実行プログラムを設定します。 |
public void setEndpointProperties(java.util.Map<java.lang.String,java.lang.Object> endpointProperties)
public void setExecutor(java.util.concurrent.Executor executor)
public void setBindingType(java.lang.String bindingType)
BindingType
EE アノテーションの値をオーバーライドします。public void setEndpointFeatures(WebServiceFeatureEE... endpointFeatures)
public void setBeanFactory(BeanFactory beanFactory)
BeanFactoryAware
の setBeanFactory
beanFactory
- 所有 BeanFactory(非 null
)。Bean は、ファクトリのメソッドをすぐに呼び出すことができます。BeanInitializationException
public void afterPropertiesSet() throws java.lang.Exception
InitializingBean
の afterPropertiesSet
java.lang.Exception
- 構成の誤り(必須プロパティの設定の失敗など)の場合、またはその他の理由で初期化が失敗した場合 publishEndpoints()
public void publishEndpoints()
WebService
EE アノテーション付き Bean を公開します。protected EndpointEE createEndpoint(java.lang.Object bean)
bean
- ラップするサービスオブジェクト Endpoint.create(Object)
EE, Endpoint.create(String, Object)
EEprotected abstract void publishEndpoint(EndpointEE endpoint, WebServiceEE annotation)
endpoint
- JAX-WS エンドポイントオブジェクト annotation
- サービス Bean の WebService アノテーション protected abstract void publishEndpoint(EndpointEE endpoint, WebServiceProviderEE annotation)
endpoint
- JAX-WS プロバイダーエンドポイントオブジェクト annotation
- サービス Bean の WebServiceProvider アノテーション public void destroy()
DisposableBean
の destroy