|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.resteasy.cdi.Utils
public class Utils
Utility methods for detecting CDI scopes and JAX-RS components
Constructor Summary | |
---|---|
Utils()
|
Method Summary | |
---|---|
static boolean |
isJaxrsAnnotatedClass(java.lang.Class<?> clazz)
Finds out if a given class is decorated with JAX-RS annotations. |
static boolean |
isJaxrsComponent(java.lang.Class<?> clazz)
Find out if a given class is a JAX-RS component |
static boolean |
isJaxrsResource(java.lang.Class<?> clazz)
Returns true if and only if the given class is a JAX-RS root resource or a sub-resource. |
static boolean |
isScopeDefined(java.lang.Class<?> clazz)
Find out if a given class has is explicitly bound to a scope. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Utils()
Method Detail |
---|
public static boolean isJaxrsAnnotatedClass(java.lang.Class<?> clazz)
clazz
-
public static boolean isJaxrsResource(java.lang.Class<?> clazz)
public static boolean isJaxrsComponent(java.lang.Class<?> clazz)
public static boolean isScopeDefined(java.lang.Class<?> clazz)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |