Annotation Interface Service


@Target(TYPE) @Retention(RUNTIME) public @interface Service
Mark a class as implementing a service. Applicable to the type.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
    Flag if it is a system service.
    Supply the interface.
  • Element Details

    • value

      Class<?> value
      Supply the interface.
      Default:
      java.lang.Object.class
    • system

      boolean system
      Flag if it is a system service. Declaring a service as system service has the following implications: a) with at least one system service the hosting agent is considered as system agent and system agents are displayed in the system view (JCC) b) search requests have default scope PLATFORM instead of APPLICATION
      Default:
      false