Class StandardGlobalRestrictionsFactory

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      GlobalRestriction createGlobalRestriction​(java.lang.annotation.Annotation annotation)
      Try and create a global restriction from the given annotation
      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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • StandardGlobalRestrictionsFactory

        public StandardGlobalRestrictionsFactory()
    • Method Detail

      • createGlobalRestriction

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

        public java.util.List<java.lang.Class<? extends java.lang.annotation.Annotation>> supportedGlobalAnnotations()
        Description copied from interface: GlobalRestrictionFactory
        Gets a list of annotations that this factory can convert into global restrictions
        Specified by:
        supportedGlobalAnnotations in interface GlobalRestrictionFactory
        Returns:
        List of supported annotations