Annotation Type AgentServiceQuery


  • @Target({FIELD,METHOD})
    @Retention(RUNTIME)
    @Deprecated
    public @interface AgentServiceQuery
    Deprecated.
    Injects a service into a field or a method of a component. The referenced service must be declared with a RequiredService annotation. Use @OnService instead
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      RequiredService requiredservice
      Deprecated.
      Define a required service inline.
      ServiceScope scope
      Deprecated.
      The search scope.
      java.lang.Class<?> type
      Deprecated.
      The service interface type.
    • Element Detail

      • requiredservice

        RequiredService requiredservice
        Deprecated.
        Define a required service inline. If given no name it will receive the field name as name.
        Default:
        @jadex.micro.annotation.RequiredService(name="", type=java.lang.Object.class)
      • type

        java.lang.Class<?> type
        Deprecated.
        The service interface type.
        Default:
        java.lang.Object.class
      • scope

        ServiceScope scope
        Deprecated.
        The search scope.
        Default:
        jadex.bridge.service.ServiceScope.DEFAULT