public class AnnotationParameterNameDiscoverer extends DefaultParameterNameDiscoverer implements ParameterNameDiscoverer
ParameterNameDiscoverer that is driven by the ParameterName Annotation.| Constructor and Description |
|---|
AnnotationParameterNameDiscoverer() |
| Modifier and Type | Method and Description |
|---|---|
private String |
getMyAnnotation(Annotation[] annotations)
Given the annotations for each parameter is it one of ours?
|
String[] |
getParameterNames(Constructor<?> ctor)
If we cannot do anything pass to the default discoverer. |
String[] |
getParameterNames(Method method) |
addDiscovererprivate final Logger log
@Nullable public String[] getParameterNames(Method method)
getParameterNames in interface ParameterNameDiscoverergetParameterNames in class PrioritizedParameterNameDiscoverer@Nullable private String getMyAnnotation(Annotation[] annotations)
annotations - the annotations for the parameterpublic String[] getParameterNames(Constructor<?> ctor)
getParameterNames in interface ParameterNameDiscoverergetParameterNames in class PrioritizedParameterNameDiscovererCopyright © 1999–2016 Shibboleth Consortium. All rights reserved.