java.lang.Object | ||
↳ | org.springframework.remoting.jaxws.LocalJaxWsServiceFactory | |
↳ | org.springframework.remoting.jaxws.JaxWsPortClientInterceptor |
Known Direct Subclasses |
org.aopalliance.intercept.MethodInterceptor for accessing a specific port of a JAX-WS service. Compatible with JAX-WS 2.0, 2.1 and 2.2.
Uses either LocalJaxWsServiceFactory
's facilities underneath,
or takes an explicit reference to an existing JAX-WS Service instance
(e.g. obtained via JndiObjectFactoryBean
).
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Add a custom property to this JAX-WS BindingProvider.
| |||||||||||
Invoked by a BeanFactory after it has set all bean properties supplied
(and satisfied BeanFactoryAware and ApplicationContextAware).
| |||||||||||
Allow Map access to the custom properties to be set on the stub,
with the option to add or override specific entries.
| |||||||||||
Return the endpoint address to specify on the stub.
| |||||||||||
Return a reference to an existing JAX-WS Service instance, if any.
| |||||||||||
Return the password to specify on the stub.
| |||||||||||
Return the name of the port.
| |||||||||||
Return the interface of the service that this factory should create a proxy for.
| |||||||||||
Return the SOAP action URI to specify on the stub.
| |||||||||||
Return the username to specify on the stub.
| |||||||||||
Return the "session.maintain" flag to specify on the stub.
| |||||||||||
Return the "soapaction.use" flag to specify on the stub.
| |||||||||||
Initialize the JAX-WS port for this interceptor.
| |||||||||||
Set the bean ClassLoader to use for this interceptor:
for resolving WebServiceFeature class names as specified through
setWebServiceFeatures(Object[]) , and also for building a client
proxy in the JaxWsPortProxyFactoryBean subclass. | |||||||||||
Set custom properties to be set on the stub.
| |||||||||||
Set the endpoint address to specify on the stub.
| |||||||||||
Set a reference to an existing JAX-WS Service instance,
for example obtained via
JndiObjectFactoryBean . | |||||||||||
Set whether to look up the JAX-WS service on startup.
| |||||||||||
Set the "session.maintain" flag to specify on the stub.
| |||||||||||
Set the password to specify on the stub.
| |||||||||||
Set the name of the port.
| |||||||||||
Set the interface of the service that this factory should create a proxy for.
| |||||||||||
Set the SOAP action URI to specify on the stub.
| |||||||||||
Set the "soapaction.use" flag to specify on the stub.
| |||||||||||
Set the username to specify on the stub.
| |||||||||||
Allows for providing JAX-WS 2.1 WebServiceFeature specifications:
in the form of actual javax.xml.ws.WebServiceFeature objects,
WebServiceFeature Class references, or WebServiceFeature class names.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Initialize this client interceptor's properties from the given WebService annotation,
if necessary and possible (i.e.
| |||||||||||
Perform a JAX-WS service invocation based on the given method invocation.
| |||||||||||
Perform a JAX-WS service invocation on the given port stub.
| |||||||||||
Return the bean ClassLoader to use for this interceptor.
| |||||||||||
Return the prepared QName for the port.
| |||||||||||
Return the underlying JAX-WS port stub that this interceptor delegates to
for each method invocation on the proxy.
| |||||||||||
Obtain the port stub from the given JAX-WS Service.
| |||||||||||
Return whether this client interceptor has already been prepared,
i.e.
| |||||||||||
Prepare the given JAX-WS port stub, applying properties to it.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.springframework.remoting.jaxws.LocalJaxWsServiceFactory
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
org.springframework.beans.factory.BeanClassLoaderAware
| |||||||||||
From interface
org.springframework.beans.factory.InitializingBean
|
Add a custom property to this JAX-WS BindingProvider.
name | the name of the attribute to expose |
---|---|
value | the attribute value to expose |
Invoked by a BeanFactory after it has set all bean properties supplied (and satisfied BeanFactoryAware and ApplicationContextAware).
This method allows the bean instance to perform initialization only possible when all bean properties have been set and to throw an exception in the event of misconfiguration.
Allow Map access to the custom properties to be set on the stub, with the option to add or override specific entries.
Useful for specifying entries directly, for example via "customProperties[myKey]". This is particularly useful for adding or overriding entries in child bean definitions.
Return a reference to an existing JAX-WS Service instance, if any.
Return the interface of the service that this factory should create a proxy for.
Return the "session.maintain" flag to specify on the stub.
Return the "soapaction.use" flag to specify on the stub.
Initialize the JAX-WS port for this interceptor.
Set the bean ClassLoader to use for this interceptor:
for resolving WebServiceFeature class names as specified through
setWebServiceFeatures(Object[])
, and also for building a client
proxy in the JaxWsPortProxyFactoryBean
subclass.
classLoader | the owning class loader; may be null in
which case a default ClassLoader must be used, for example
the ClassLoader obtained via
getDefaultClassLoader()
|
---|
Set custom properties to be set on the stub.
Can be populated with a String "value" (parsed via PropertiesEditor) or a "props" element in XML bean definitions.
Set the endpoint address to specify on the stub.
Set a reference to an existing JAX-WS Service instance,
for example obtained via JndiObjectFactoryBean
.
If not set, LocalJaxWsServiceFactory
's properties have to be specified.
Set whether to look up the JAX-WS service on startup.
Default is "true". Turn this flag off to allow for late start of the target server. In this case, the JAX-WS service will be lazily fetched on first access.
Set the "session.maintain" flag to specify on the stub.
Set the name of the port. Corresponds to the "wsdl:port" name.
Set the interface of the service that this factory should create a proxy for.
Set the SOAP action URI to specify on the stub.
Set the "soapaction.use" flag to specify on the stub.
Allows for providing JAX-WS 2.1 WebServiceFeature specifications: in the form of actual javax.xml.ws.WebServiceFeature objects, WebServiceFeature Class references, or WebServiceFeature class names.
Initialize this client interceptor's properties from the given WebService annotation, if necessary and possible (i.e. if "wsdlDocumentUrl", "namespaceUri", "serviceName" and "portName" haven't been set but corresponding values are declared at the annotation level of the specified service interface).
ann | the WebService annotation found on the specified service interface |
---|
Perform a JAX-WS service invocation based on the given method invocation.
invocation | the AOP method invocation |
---|
Throwable | in case of invocation failure |
---|
getPortStub()
Perform a JAX-WS service invocation on the given port stub.
invocation | the AOP method invocation |
---|---|
portStub | the RMI port stub to invoke |
Throwable | in case of invocation failure |
---|
Return the bean ClassLoader to use for this interceptor.
Return the underlying JAX-WS port stub that this interceptor delegates to for each method invocation on the proxy.
Obtain the port stub from the given JAX-WS Service.
service | the Service object to obtain the port from |
---|---|
portQName | the name of the desired port, if specified |
Service.getPort(...)
Return whether this client interceptor has already been prepared, i.e. has already looked up the JAX-WS service and port.
Prepare the given JAX-WS port stub, applying properties to it.
Called by prepare()
.
stub | the current JAX-WS port stub |
---|