Package jadex.extension.ws.publish
Class Proxy
- java.lang.Object
-
- jadex.extension.ws.publish.Proxy
-
public class Proxy extends java.lang.Object
Base class for generated web service proxies. Generated proxies implement a domain dependent web service interface by delegation methods that all call the invocation handler. In this way the proxy does the same as a Java dynamic proxy. The invoke method in this class is copied as body for all service methods, i.e. the invoke method is not called itself at any time.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.reflect.InvocationHandler
handler
The invocation handler.
-
Constructor Summary
Constructors Constructor Description Proxy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.reflect.InvocationHandler
getHandler()
Get the handler.java.lang.Object
invoke(java.lang.Object[] params)
Functionality blueprint for all service methods.void
setHandler(java.lang.reflect.InvocationHandler handler)
Set the handler.
-
-
-
Method Detail
-
invoke
public java.lang.Object invoke(java.lang.Object[] params)
Functionality blueprint for all service methods.- Parameters:
params
- The parameters.- Returns:
- The result.
-
getHandler
public java.lang.reflect.InvocationHandler getHandler()
Get the handler.- Returns:
- The handler.
-
setHandler
public void setHandler(java.lang.reflect.InvocationHandler handler)
Set the handler.- Parameters:
handler
- The handler to set.
-
-