类 AbstractJaxWsServiceExporter

    • 方法详细资料

      • setEndpointProperties

        public void setEndpointProperties​(Map<String,​Object> endpointProperties)
        Set the property bag for the endpoint, including properties such as "javax.xml.ws.wsdl.service" or "javax.xml.ws.wsdl.port".
        另请参阅:
        javax.xml.ws.Endpoint#setProperties, javax.xml.ws.Endpoint#WSDL_SERVICE, javax.xml.ws.Endpoint#WSDL_PORT
      • setExecutor

        public void setExecutor​(Executor executor)
        Set the JDK concurrent executor to use for dispatching incoming requests to exported service instances.
        另请参阅:
        javax.xml.ws.Endpoint#setExecutor
      • setBindingType

        public void setBindingType​(String bindingType)
        Specify the binding type to use, overriding the value of the JAX-WS javax.xml.ws.BindingType annotation.
      • setEndpointFeatures

        public void setEndpointFeatures​(WebServiceFeature... endpointFeatures)
        Specify WebServiceFeature objects (e.g. as inner bean definitions) to apply to JAX-WS endpoint creation.
        从以下版本开始:
        4.0
      • setWebServiceFeatures

        @Deprecated
        public void setWebServiceFeatures​(Object[] webServiceFeatures)
        已过时。
        as of Spring 4.0, in favor of setEndpointFeatures(WebServiceFeature...)
        Allows for providing JAX-WS 2.2 WebServiceFeature specifications: in the form of actual javax.xml.ws.WebServiceFeature objects, WebServiceFeature Class references, or WebServiceFeature class names.

        As of Spring 4.0, this is effectively just an alternative way of specifying "endpointFeatures". Do not specify both properties at the same time; prefer "endpointFeatures" moving forward.

      • createEndpoint

        @UsesJava7
        protected Endpoint createEndpoint​(Object bean)
        Create the actual Endpoint instance.
        参数:
        bean - the service object to wrap
        返回:
        the Endpoint instance
        另请参阅:
        Endpoint#create(Object), Endpoint#create(String, Object)
      • publishEndpoint

        protected abstract void publishEndpoint​(Endpoint endpoint,
                                                WebService annotation)
        Actually publish the given endpoint. To be implemented by subclasses.
        参数:
        endpoint - the JAX-WS Endpoint object
        annotation - the service bean's WebService annotation
      • publishEndpoint

        protected abstract void publishEndpoint​(Endpoint endpoint,
                                                WebServiceProvider annotation)
        Actually publish the given provider endpoint. To be implemented by subclasses.
        参数:
        endpoint - the JAX-WS Provider Endpoint object
        annotation - the service bean's WebServiceProvider annotation
      • destroy

        public void destroy()
        Stops all published endpoints, taking the web services offline.
        指定者:
        destroy 在接口中 DisposableBean