|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.stratelia.webactiv.util.annotation.AnnotationUtil
public class AnnotationUtil
User: Yohann Chastagnier Date: 22/10/13
Constructor Summary | |
---|---|
AnnotationUtil()
|
Method Summary | ||
---|---|---|
static
|
extractMethodAnnotations(javax.interceptor.InvocationContext invocationContext)
Provides a centralized way to extract annotation of a method. |
|
static
|
extractMethodAnnotations(org.aspectj.lang.ProceedingJoinPoint invocationContext)
Provides a centralized way to extract annotation of a method. |
|
static Map<Class<Annotation>,List<Object>> |
extractMethodAnnotedParameterValues(javax.interceptor.InvocationContext invocationContext)
Provides a centralized way to extract annoted method parameter values. |
|
static Map<Class<Annotation>,List<Object>> |
extractMethodAnnotedParameterValues(org.aspectj.lang.ProceedingJoinPoint invocationContext)
Provides a centralized way to extract annoted method parameter values. |
|
static List<Object> |
getAnnotedValues(Map<Class<Annotation>,List<Object>> annotedValues,
Class<? extends Annotation> annotationClass)
Gets the values associated to an annotation. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AnnotationUtil()
Method Detail |
---|
public static <A extends Annotation> Map<Class<A>,A> extractMethodAnnotations(javax.interceptor.InvocationContext invocationContext) throws Exception
invocationContext
-
Exception
public static <A extends Annotation> Map<Class<A>,A> extractMethodAnnotations(org.aspectj.lang.ProceedingJoinPoint invocationContext) throws Exception
invocationContext
-
Exception
public static Map<Class<Annotation>,List<Object>> extractMethodAnnotedParameterValues(javax.interceptor.InvocationContext invocationContext) throws Exception
invocationContext
-
Exception
public static Map<Class<Annotation>,List<Object>> extractMethodAnnotedParameterValues(org.aspectj.lang.ProceedingJoinPoint invocationContext) throws Exception
invocationContext
-
Exception
public static List<Object> getAnnotedValues(Map<Class<Annotation>,List<Object>> annotedValues, Class<? extends Annotation> annotationClass)
annotedValues
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |