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 - classpublic static boolean isJaxrsResource(Class<?> clazz)
clazz - classpublic static boolean isJaxrsComponent(Class<?> clazz)
clazz - classpublic static boolean isScopeDefined(javax.enterprise.inject.spi.AnnotatedType<?> annotatedType,
javax.enterprise.inject.spi.BeanManager manager)
annotatedType - annotated typemanager - bean managerCopyright © 2021 JBoss by Red Hat. All rights reserved.