org.glassfish.jersey.internal.inject
Class JerseyClassAnalyzer
java.lang.Object
org.glassfish.jersey.internal.inject.JerseyClassAnalyzer
- All Implemented Interfaces:
- ClassAnalyzer
@Singleton
@Named(value="JerseyClassAnalyzer")
public final class JerseyClassAnalyzer
- extends Object
- implements ClassAnalyzer
Implementation of the ClassAnalyzer that supports selection
of the constructor with largest number of parameters as defined in
and required by JAX-RS specification.
- Author:
- John Wells (john.wells at oracle.com), Marek Potociar (marek.potociar at oracle.com)
|
Field Summary |
static String |
NAME
Name of the analyzer service. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NAME
public static final String NAME
- Name of the analyzer service.
- See Also:
- Constant Field Values
getConstructor
public <T> Constructor<T> getConstructor(Class<T> clazz)
throws MultiException,
NoSuchMethodException
- Specified by:
getConstructor in interface ClassAnalyzer
- Throws:
MultiException
NoSuchMethodException
getInitializerMethods
public <T> Set<Method> getInitializerMethods(Class<T> clazz)
throws MultiException
- Specified by:
getInitializerMethods in interface ClassAnalyzer
- Throws:
MultiException
getFields
public <T> Set<Field> getFields(Class<T> clazz)
throws MultiException
- Specified by:
getFields in interface ClassAnalyzer
- Throws:
MultiException
getPostConstructMethod
public <T> Method getPostConstructMethod(Class<T> clazz)
throws MultiException
- Specified by:
getPostConstructMethod in interface ClassAnalyzer
- Throws:
MultiException
getPreDestroyMethod
public <T> Method getPreDestroyMethod(Class<T> clazz)
throws MultiException
- Specified by:
getPreDestroyMethod in interface ClassAnalyzer
- Throws:
MultiException
Copyright © 2007-2013 Oracle Corporation. All Rights Reserved. Use is subject to license terms.