@Singleton @Named(value="JerseyClassAnalyzer") public final class JerseyClassAnalyzer extends Object implements ClassAnalyzer
ClassAnalyzer that supports selection
 of the constructor with largest number of parameters as defined in
 and required by JAX-RS specification.| Modifier and Type | Class and Description | 
|---|---|
static class  | 
JerseyClassAnalyzer.Binder
Binder for the JAX-RS compliant class analyzer implementation. 
 | 
| Modifier and Type | Field and Description | 
|---|---|
static String | 
NAME
Name of the analyzer service. 
 | 
DEFAULT_IMPLEMENTATION_NAME| Modifier and Type | Method and Description | 
|---|---|
<T> Constructor<T> | 
getConstructor(Class<T> clazz)  | 
<T> Set<Field> | 
getFields(Class<T> clazz)  | 
<T> Set<Method> | 
getInitializerMethods(Class<T> clazz)  | 
<T> Method | 
getPostConstructMethod(Class<T> clazz)  | 
<T> Method | 
getPreDestroyMethod(Class<T> clazz)  | 
public static final String NAME
public <T> Constructor<T> getConstructor(Class<T> clazz) throws MultiException, NoSuchMethodException
getConstructor in interface ClassAnalyzerMultiExceptionNoSuchMethodExceptionpublic <T> Set<Method> getInitializerMethods(Class<T> clazz) throws MultiException
getInitializerMethods in interface ClassAnalyzerMultiExceptionpublic <T> Set<Field> getFields(Class<T> clazz) throws MultiException
getFields in interface ClassAnalyzerMultiExceptionpublic <T> Method getPostConstructMethod(Class<T> clazz) throws MultiException
getPostConstructMethod in interface ClassAnalyzerMultiExceptionpublic <T> Method getPreDestroyMethod(Class<T> clazz) throws MultiException
getPreDestroyMethod in interface ClassAnalyzerMultiExceptionCopyright © 2007-2021, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.