@Singleton @Named(value="default") @Visibility(value=LOCAL) public class DefaultClassAnalyzer extends Object implements ClassAnalyzer
DEFAULT_IMPLEMENTATION_NAME| Constructor and Description |
|---|
DefaultClassAnalyzer(ServiceLocatorImpl locator)
The DefaultClassAnalyzer is per ServiceLocatorImpl
|
| 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 DefaultClassAnalyzer(ServiceLocatorImpl locator)
locator - The non-null locator associated with this analyzerpublic <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 © 2009-2017 Oracle Corporation. All Rights Reserved.