Package jadex.extension.ws.publish
Class WebServiceToJadexWrapperInvocationHandler
- java.lang.Object
 - 
- jadex.extension.ws.publish.WebServiceToJadexWrapperInvocationHandler
 
 
- 
- All Implemented Interfaces:
 java.lang.reflect.InvocationHandler
public class WebServiceToJadexWrapperInvocationHandler extends java.lang.Object implements java.lang.reflect.InvocationHandlerProxy invocation handler that maps a web service call to a Jadex service and waits for the result, which is returned to the web service caller. 
- 
- 
Constructor Summary
Constructors Constructor Description WebServiceToJadexWrapperInvocationHandler(IService service)Create a new service wrapper invocation handler. 
- 
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)Called when web service is called. 
 - 
 
- 
- 
Field Detail
- 
service
protected IService service
The service. 
 - 
 
- 
Constructor Detail
- 
WebServiceToJadexWrapperInvocationHandler
public WebServiceToJadexWrapperInvocationHandler(IService service)
Create a new service wrapper invocation handler.- Parameters:
 agent- The internal access of the agent.
 
 - 
 
- 
Method Detail
- 
invoke
public java.lang.Object invoke(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] args) throws java.lang.ThrowableCalled when web service is called. Redirects to Jadex service method and synchronously waits for reply.- Specified by:
 invokein interfacejava.lang.reflect.InvocationHandler- Throws:
 java.lang.Throwable
 
 - 
 
 -