Annotation Interface ServiceInstance


@Documented @Retention(RUNTIME) @Target({TYPE,FIELD,METHOD}) public @interface ServiceInstance
Annotation used on beans, observer methods and observer fields to specify the service scope for the service. Used in conjunction with Service.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    Support inline instantiation of the ServiceInstance annotation.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    The scope of the service.
  • Element Details

    • value

      The scope of the service.
      Default:
      SINGLETON