java.lang.Object | |
↳ | org.springframework.remoting.jaxrpc.ServletEndpointSupport |
This class is deprecated.
in favor of JAX-WS support in org.springframework.remoting.jaxws
Convenience base class for JAX-RPC servlet endpoint implementations. Provides a reference to the current Spring application context, e.g. for bean lookup or resource loading.
The Web Service servlet needs to run in the same web application as the Spring context to allow for access to Spring's facilities. In case of Axis, copy the AxisServlet definition into your web.xml, and set up the endpoint in "server-config.wsdd" (or use the deploy tool).
This class does not extend
WebApplicationObjectSupport
to not expose any public setters. For some reason, Axis tries to
resolve public setters in a special way...
JAX-RPC service endpoints are usually required to implement an RMI port interface. However, many JAX-RPC implementations accept plain service endpoint classes too, avoiding the need to maintain an RMI port interface in addition to an existing non-RMI business interface. Therefore, implementing the business interface will usually be sufficient.
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
logger |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
This implementation of destroy is empty.
| |||||||||||
Initialize this JAX-RPC servlet endpoint.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Return the current Spring ApplicationContext.
| |||||||||||
Return a MessageSourceAccessor for the application context
used by this object, for easy message access.
| |||||||||||
Return the current ServletContext.
| |||||||||||
Return the current JAX-RPC ServletEndpointContext.
| |||||||||||
Return the temporary directory for the current web application,
as provided by the servlet container.
| |||||||||||
Return the current Spring WebApplicationContext.
| |||||||||||
Callback for custom initialization after the context has been set up.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
javax.xml.rpc.server.ServiceLifecycle
|
This implementation of destroy is empty. Can be overridden in subclasses.
Initialize this JAX-RPC servlet endpoint. Calls onInit after successful context initialization.
context | ServletEndpointContext |
---|
ServiceException | if the context is not a ServletEndpointContext |
---|
Return the current Spring ApplicationContext.
Return a MessageSourceAccessor for the application context used by this object, for easy message access.
Return the current ServletContext.
Return the current JAX-RPC ServletEndpointContext.
Return the temporary directory for the current web application, as provided by the servlet container.
Return the current Spring WebApplicationContext.
Callback for custom initialization after the context has been set up.
ServiceException | if initialization failed |
---|