Annotation Type AotProxyHint


  • @Repeatable(AotProxyHints.class)
    @Retention(RUNTIME)
    public @interface AotProxyHint
    Used by NativeHint annotations to indicate which classes need a proxy generating at build time - these proxies enable runtime Spring features like AOP to function correctly.
    Author:
    Andy Clement
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      java.lang.String[] interfaceNames
      Alternative way to configure interfaces for a class proxy, should be used when type visibility prevents using Class references, or for nested types which should be specific using a $ separator (for example com.example.Foo$Bar).
      java.lang.Class<?>[] interfaces
      Preferred way to configure interfaces for a class proxy.
      int proxyFeatures  
      java.lang.Class<?> targetClass  
      java.lang.String targetClassName  
    • Element Detail

      • targetClass

        java.lang.Class<?> targetClass
        Default:
        java.lang.Object.class
      • targetClassName

        java.lang.String targetClassName
        Default:
        "java.lang.Object"
      • interfaces

        java.lang.Class<?>[] interfaces
        Preferred way to configure interfaces for a class proxy.
        Returns:
        the types
        Default:
        {}
      • interfaceNames

        java.lang.String[] interfaceNames
        Alternative way to configure interfaces for a class proxy, should be used when type visibility prevents using Class references, or for nested types which should be specific using a $ separator (for example com.example.Foo$Bar).
        Returns:
        the type names
        Default:
        {}
      • proxyFeatures

        int proxyFeatures
        Default:
        0