public class Utils extends Object
Constructor and Description |
---|
Utils() |
Modifier and Type | Method and Description |
---|---|
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(javax.enterprise.inject.spi.AnnotatedType<?> annotatedType,
javax.enterprise.inject.spi.BeanManager manager)
Find out if a given annotated type is explicitly bound to a scope.
|
public static boolean isJaxrsAnnotatedClass(Class<?> clazz)
clazz
- public static boolean isJaxrsResource(Class<?> clazz)
public static boolean isJaxrsComponent(Class<?> clazz)
public static boolean isScopeDefined(javax.enterprise.inject.spi.AnnotatedType<?> annotatedType, javax.enterprise.inject.spi.BeanManager manager)
Copyright © 2014. All Rights Reserved.