|
||||||||||
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(Class<?> clazz)
Finds out if a given class is decorated with JAX-RS annotations. |
static boolean |
isJaxrsComponent(Class<?> clazz)
Find out if a given class is a JAX-RS component |
static boolean |
isJaxrsResource(Class<?> clazz)
Returns true if and only if the given class is a JAX-RS root resource or a sub-resource. |
static boolean |
isScopeDefined(Class<?> clazz,
javax.enterprise.inject.spi.BeanManager manager)
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(Class<?> clazz)
clazz
-
public static boolean isJaxrsResource(Class<?> clazz)
public static boolean isJaxrsComponent(Class<?> clazz)
public static boolean isScopeDefined(Class<?> clazz, javax.enterprise.inject.spi.BeanManager manager)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |