| java.lang.Object org.springframework.remoting.jaxws.SimpleJaxWsServiceExporter
SimpleJaxWsServiceExporter | public class SimpleJaxWsServiceExporter implements BeanFactoryAware,DisposableBean(Code) | | Simple exporter for JAX-WS services, autodetecting annotation service beans
(through the JAX-WS
javax.jws.WebService annotation) and exporting
them with a configured base address (by default "http://localhost:8080/").
The full address for each service will consist of the base address with
the service name appended (e.g. "http://localhost:8080/OrderService").
Note that this exporter will only work if the JAX-WS runtime actually
supports publishing with an address argument, i.e. if the JAX-WS runtime
ships an internal HTTP server. This is the case with the JAX-WS runtime
that's inclued in Sun's JDK 1.6 but not with the standalone JAX-WS 2.1 RI.
author: Juergen Hoeller since: 2.5 See Also: javax.xml.ws.Endpoint.publish(StringObject) |
Method Summary | |
public void | destroy() Stops all published endpoints, taking the web services offline. | public void | setBaseAddress(String baseAddress) Set the base address for exported services.
Default is "http://localhost:8080/".
For each actual publication address, the service name will be
appended to this base address. | public void | setBeanFactory(BeanFactory beanFactory) Obtains all web service beans and publishes them as JAX-WS endpoints. | public void | setEndpointProperties(Map<String, Object> endpointProperties) | public void | setExecutor(Executor executor) Set the JDK concurrent executor to use for dispatching incoming requests
to exported service instances. | public void | setTaskExecutor(TaskExecutor executor) Set the Spring TaskExecutor to use for dispatching incoming requests
to exported service instances. |
DEFAULT_BASE_ADDRESS | final public static String DEFAULT_BASE_ADDRESS(Code) | | |
destroy | public void destroy()(Code) | | Stops all published endpoints, taking the web services offline.
|
setBeanFactory | public void setBeanFactory(BeanFactory beanFactory)(Code) | | Obtains all web service beans and publishes them as JAX-WS endpoints.
|
|
|