|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.xfire.spring.remoting.XFireClientInterceptor
Interceptor for accessing a XFire SOAP service.
XFireExporter
,
XFireProxyFactory
Constructor Summary | |
XFireClientInterceptor()
|
Method Summary | |
void |
afterPropertiesSet()
|
protected org.springframework.remoting.RemoteAccessException |
convertBurlapAccessException(java.lang.Throwable ex)
Convert the given Remote exception to an appropriate Spring RemoteAccessException. |
protected java.lang.Object |
createXFireProxy(org.codehaus.xfire.client.XFireProxyFactory proxyFactory)
Create the XFire proxy that is wrapped by this interceptor. |
ServiceBean |
getService()
|
java.lang.String |
getServiceUrl()
|
org.codehaus.xfire.XFire |
getXfire()
|
java.lang.Object |
invoke(org.aopalliance.intercept.MethodInvocation invocation)
|
void |
prepare()
Initialize the XFire proxy for this interceptor. |
void |
setProxyFactory(org.codehaus.xfire.client.XFireProxyFactory proxyFactory)
Set the XFireProxyFactory instance to use. |
void |
setService(ServiceBean serviceBean)
|
void |
setServiceUrl(java.lang.String serviceUrl)
|
void |
setXfire(org.codehaus.xfire.XFire fire)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public XFireClientInterceptor()
Method Detail |
public void afterPropertiesSet() throws java.net.MalformedURLException
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
java.net.MalformedURLException
public void prepare() throws java.net.MalformedURLException
java.net.MalformedURLException
protected java.lang.Object createXFireProxy(org.codehaus.xfire.client.XFireProxyFactory proxyFactory) throws java.net.MalformedURLException
proxyFactory
- the proxy factory to use
java.net.MalformedURLException
- if thrown by the proxy factoryXFireProxyFactory.create(org.codehaus.xfire.service.Service, java.lang.String)
public java.lang.Object invoke(org.aopalliance.intercept.MethodInvocation invocation) throws java.lang.Throwable
invoke
in interface org.aopalliance.intercept.MethodInterceptor
java.lang.Throwable
protected org.springframework.remoting.RemoteAccessException convertBurlapAccessException(java.lang.Throwable ex)
ex
- the exception to convert
public void setProxyFactory(org.codehaus.xfire.client.XFireProxyFactory proxyFactory)
XFireProxyFactory
instance to use. If not specified, a default
XFireProxyFactory
will be created.
proxyFactory
- the proxy factorypublic java.lang.String getServiceUrl()
public void setServiceUrl(java.lang.String serviceUrl)
public ServiceBean getService()
public void setService(ServiceBean serviceBean)
public org.codehaus.xfire.XFire getXfire()
public void setXfire(org.codehaus.xfire.XFire fire)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |