Class ServiceProxy
- java.lang.Object
-
- org.apache.naming.factory.webservices.ServiceProxy
-
- All Implemented Interfaces:
java.lang.reflect.InvocationHandler
public class ServiceProxy extends java.lang.Object implements java.lang.reflect.InvocationHandlerObject proxy for Web Services.- Author:
- Fabien Carrion
-
-
Constructor Summary
Constructors Constructor Description ServiceProxy(Service service)Constructs a new ServiceProxy wrapping given Service instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectinvoke(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] args)voidsetPortComponentRef(java.util.Hashtable<java.lang.String,javax.xml.namespace.QName> portComponentRef)
-
-
-
Constructor Detail
-
ServiceProxy
public ServiceProxy(Service service) throws ServiceException
Constructs a new ServiceProxy wrapping given Service instance.- Parameters:
service- the wrapped Service instance- Throws:
ServiceException- should be never thrown
-
-
Method Detail
-
invoke
public java.lang.Object invoke(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] args) throws java.lang.Throwable- Specified by:
invokein interfacejava.lang.reflect.InvocationHandler- Throws:
java.lang.Throwable- See Also:
InvocationHandler.invoke(Object, Method, Object[])
-
setPortComponentRef
public void setPortComponentRef(java.util.Hashtable<java.lang.String,javax.xml.namespace.QName> portComponentRef)
- Parameters:
portComponentRef- List
-
-