Interface GlobalRestrictionFactory

    • Method Detail

      • createGlobalRestriction

        GlobalRestriction createGlobalRestriction​(java.lang.annotation.Annotation annotation)
        Try and create a global restriction from the given annotation
        Parameters:
        annotation - Annotation
        Returns:
        Global restriction or null if this factory cannot create a restriction from the given annotation
      • supportedGlobalAnnotations

        java.util.List<java.lang.Class<? extends java.lang.annotation.Annotation>> supportedGlobalAnnotations()
        Gets a list of annotations that this factory can convert into global restrictions
        Returns:
        List of supported annotations