Annotation Interface ProvidedService


@Target(ANNOTATION_TYPE) @Retention(RUNTIME) public @interface ProvidedService
Provided service annotation.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The service interface type.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    The service implementation.
    The name (for referencing/overriding).
    jadex.model.annotation.NameValue[]
    Properties for the provided service.
    jadex.providedservice.ServiceScope
    The visibility scope.
    The scope expression to be evaluated on service initialization (only used when scope is set to ).
    jadex.providedservice.annotation.Security
    Override security settings from service interface or implementation.
  • Element Details

    • name

      String name
      The name (for referencing/overriding).
      Default:
      ""
    • type

      Class<?> type
      The service interface type.
    • scope

      jadex.providedservice.ServiceScope scope
      The visibility scope.
      Default:
      DEFAULT
    • scopeexpression

      String scopeexpression
      The scope expression to be evaluated on service initialization (only used when scope is set to ).
      Default:
      ""
    • security

      jadex.providedservice.annotation.Security security
      Override security settings from service interface or implementation.
      Default:
      @jadex.providedservice.annotation.Security(roles={})
    • implementation

      Implementation implementation
      The service implementation.
      Default:
      @jadex.providedservice.annotation.Implementation(expression="$pojoagent!=null? $pojoagent: $component")
    • properties

      jadex.model.annotation.NameValue[] properties
      Properties for the provided service.
      Default:
      {}