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 SummaryConstructors Constructor Description WebServiceToJadexWrapperInvocationHandler(IService service)Create a new service wrapper invocation handler.
 - 
Method SummaryAll 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- 
serviceprotected IService service The service.
 
- 
 - 
Constructor Detail- 
WebServiceToJadexWrapperInvocationHandlerpublic WebServiceToJadexWrapperInvocationHandler(IService service) Create a new service wrapper invocation handler.- Parameters:
- agent- The internal access of the agent.
 
 
- 
 - 
Method Detail- 
invokepublic 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 interface- java.lang.reflect.InvocationHandler
- Throws:
- java.lang.Throwable
 
 
- 
 
-