public class StandardGlobalRestrictionsFactory extends Object implements GlobalRestrictionFactory
| Constructor and Description |
|---|
StandardGlobalRestrictionsFactory() |
| Modifier and Type | Method and Description |
|---|---|
GlobalRestriction |
createGlobalRestriction(Annotation annotation)
Try and create a global restriction from the given annotation
|
List<Class<? extends Annotation>> |
supportedGlobalAnnotations()
Gets a list of annotations that this factory can convert into global
restrictions
|
public GlobalRestriction createGlobalRestriction(Annotation annotation)
GlobalRestrictionFactorycreateGlobalRestriction in interface GlobalRestrictionFactoryannotation - Annotationnull if this factory cannot create
a restriction from the given annotationpublic List<Class<? extends Annotation>> supportedGlobalAnnotations()
GlobalRestrictionFactorysupportedGlobalAnnotations in interface GlobalRestrictionFactoryCopyright © 2012–2022. All rights reserved.