Annotation Interface Service.PerLookup

Enclosing class:
Service

@Documented @Retention(CLASS) @Target({ANNOTATION_TYPE,TYPE}) @Scope public static @interface Service.PerLookup
A partial scope that creates a new instance for each injection point/lookup. The "partial scope" means that the service instances are not managed. If this service gets injected, a new instance is created for each injection. The service is instantiated, post construct method (if any) is called, and then it is ignored (i.e. it never gets a pre destroy method invocation).
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final TypeName
    Type name of this interface.
  • Field Details

    • TYPE

      static final TypeName TYPE
      Type name of this interface.