Package jadex.bridge.service.component
Class UnresolvedServiceInvocationHandler
- java.lang.Object
-
- jadex.bridge.service.component.UnresolvedServiceInvocationHandler
-
- All Implemented Interfaces:
java.lang.reflect.InvocationHandler
public class UnresolvedServiceInvocationHandler extends java.lang.Object implements java.lang.reflect.InvocationHandler
Lazy service proxy that resolves a service via a search command.
-
-
Field Summary
Fields Modifier and Type Field Description protected IService
delegate
The service.protected IInternalAccess
ia
The component.protected ServiceQuery<?>
query
The search query for a lazy proxy.
-
Constructor Summary
Constructors Constructor Description UnresolvedServiceInvocationHandler(IInternalAccess ia, ServiceQuery<?> query)
Create a new invocation handler.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
invoke(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] args)
Called on method invocation.
-
-
-
Field Detail
-
ia
protected IInternalAccess ia
The component.
-
delegate
protected IService delegate
The service.
-
query
protected ServiceQuery<?> query
The search query for a lazy proxy.
-
-
Constructor Detail
-
UnresolvedServiceInvocationHandler
public UnresolvedServiceInvocationHandler(IInternalAccess ia, ServiceQuery<?> query)
Create a new invocation handler.
-
-