|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.xfire.spring.remoting.XFireClientInterceptor
public class XFireClientInterceptor
Interceptor for accessing a XFire SOAP service.
XFireExporter
,
XFireProxyFactory
Constructor Summary | |
---|---|
XFireClientInterceptor()
|
Method Summary | |
---|---|
void |
afterPropertiesSet()
|
protected org.springframework.remoting.RemoteAccessException |
convertBurlapAccessException(Throwable ex)
Convert the given Remote exception to an appropriate Spring RemoteAccessException. |
protected Object |
createXFireProxy(org.codehaus.xfire.client.XFireProxyFactory proxyFactory)
Create the XFire proxy that is wrapped by this interceptor. |
ServiceBean |
getService()
|
String |
getServiceUrl()
|
org.codehaus.xfire.XFire |
getXfire()
|
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(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 MalformedURLException
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
MalformedURLException
public void prepare() throws MalformedURLException
MalformedURLException
protected Object createXFireProxy(org.codehaus.xfire.client.XFireProxyFactory proxyFactory) throws MalformedURLException
proxyFactory
- the proxy factory to use
MalformedURLException
- if thrown by the proxy factoryXFireProxyFactory.create(org.codehaus.xfire.service.Service, java.lang.String)
public Object invoke(org.aopalliance.intercept.MethodInvocation invocation) throws Throwable
invoke
in interface org.aopalliance.intercept.MethodInterceptor
Throwable
protected org.springframework.remoting.RemoteAccessException convertBurlapAccessException(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 String getServiceUrl()
public void setServiceUrl(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 |