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)
GlobalRestrictionFactory
createGlobalRestriction
in interface GlobalRestrictionFactory
annotation
- Annotationnull
if this factory cannot create
a restriction from the given annotationpublic List<Class<? extends Annotation>> supportedGlobalAnnotations()
GlobalRestrictionFactory
supportedGlobalAnnotations
in interface GlobalRestrictionFactory
Copyright © 2012–2017. All rights reserved.