Annotation Type DefaultScope


  • @Target(ANNOTATION_TYPE)
    @Retention(RUNTIME)
    @Documented
    public @interface DefaultScope
    A meta annotation that can be applied to another annotation to specify a fallback scope of no scope is specified by the user for a bean.
    Since:
    1.0
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      java.lang.Class<? extends java.lang.annotation.Annotation> value  
    • Element Detail

      • value

        java.lang.Class<? extends java.lang.annotation.Annotation> value
        Returns:
        The default scope to use