Annotation Type ProvidedService


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

      Required Elements 
      Modifier and Type Required Element Description
      java.lang.Class<?> type
      The service interface type.
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      Implementation implementation
      The service implementation.
      java.lang.String name
      The name (for referencing/overriding).
      NameValue[] properties
      Properties for the provided service.
      Publish publish
      Publish details.
      ServiceScope scope
      The visibility scope.
      java.lang.String scopeexpression
      The scope expression to be evaluated on service initialization (only used when scope is set to {@see ServiceScope.EXPRESSION}).
      Security security
      Override security settings from service interface or implementation.
    • Element Detail

      • type

        java.lang.Class<?> type
        The service interface type.
      • name

        java.lang.String name
        The name (for referencing/overriding).
        Default:
        ""
      • scope

        ServiceScope scope
        The visibility scope.
        Default:
        jadex.bridge.service.ServiceScope.DEFAULT
      • scopeexpression

        java.lang.String scopeexpression
        The scope expression to be evaluated on service initialization (only used when scope is set to {@see ServiceScope.EXPRESSION}).
        Default:
        ""
      • security

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

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

        Publish publish
        Publish details.
        Default:
        @jadex.micro.annotation.Publish(publishid="", publishtype="ws", mapping=java.lang.Object.class)
      • properties

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