org.jvnet.hk2.internal
Class DefaultClassAnalyzer
java.lang.Object
org.jvnet.hk2.internal.DefaultClassAnalyzer
- All Implemented Interfaces:
- ClassAnalyzer
@Singleton
@Named(value="default")
public class DefaultClassAnalyzer
- extends java.lang.Object
- implements ClassAnalyzer
this is the default implementation of the ClassAnalyzer
- Author:
- jwells
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultClassAnalyzer
public DefaultClassAnalyzer(ServiceLocatorImpl locator)
getConstructor
public <T> java.lang.reflect.Constructor<T> getConstructor(java.lang.Class<T> clazz)
throws MultiException,
java.lang.NoSuchMethodException
- Specified by:
getConstructor in interface ClassAnalyzer
- Throws:
MultiException
java.lang.NoSuchMethodException
getInitializerMethods
public <T> java.util.Set<java.lang.reflect.Method> getInitializerMethods(java.lang.Class<T> clazz)
throws MultiException
- Specified by:
getInitializerMethods in interface ClassAnalyzer
- Throws:
MultiException
getFields
public <T> java.util.Set<java.lang.reflect.Field> getFields(java.lang.Class<T> clazz)
throws MultiException
- Specified by:
getFields in interface ClassAnalyzer
- Throws:
MultiException
getPostConstructMethod
public <T> java.lang.reflect.Method getPostConstructMethod(java.lang.Class<T> clazz)
throws MultiException
- Specified by:
getPostConstructMethod in interface ClassAnalyzer
- Throws:
MultiException
getPreDestroyMethod
public <T> java.lang.reflect.Method getPreDestroyMethod(java.lang.Class<T> clazz)
throws MultiException
- Specified by:
getPreDestroyMethod in interface ClassAnalyzer
- Throws:
MultiException
Copyright © 2013 Oracle Corporation. All Rights Reserved.