Class UnresolvedServiceInvocationHandler

java.lang.Object
jadex.requiredservice.impl.UnresolvedServiceInvocationHandler
All Implemented Interfaces:
InvocationHandler

public class UnresolvedServiceInvocationHandler extends Object implements InvocationHandler
Lazy service proxy that resolves a service via a search command.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected jadex.providedservice.IService
    The service.
    protected jadex.core.impl.Component
    The component.
    protected jadex.providedservice.impl.search.ServiceQuery<?>
    The search query for a lazy proxy.
  • Constructor Summary

    Constructors
    Constructor
    Description
    UnresolvedServiceInvocationHandler(jadex.core.impl.Component ia, jadex.providedservice.impl.search.ServiceQuery<?> query)
    Create a new invocation handler.
  • Method Summary

    Modifier and Type
    Method
    Description
    invoke(Object proxy, Method method, Object[] args)
    Called on method invocation.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • ia

      protected jadex.core.impl.Component ia
      The component.
    • delegate

      protected jadex.providedservice.IService delegate
      The service.
    • query

      protected jadex.providedservice.impl.search.ServiceQuery<?> query
      The search query for a lazy proxy.
  • Constructor Details

    • UnresolvedServiceInvocationHandler

      public UnresolvedServiceInvocationHandler(jadex.core.impl.Component ia, jadex.providedservice.impl.search.ServiceQuery<?> query)
      Create a new invocation handler.
  • Method Details