public interface ReflectionManager
| Modifier and Type | Method and Description | 
|---|---|
| AnnotationReader | buildAnnotationReader(AnnotatedElement annotatedElement) | 
| XClass | classForName(String name)Given the name of a Class, retrieve the XClass representation. | 
| <T> XClass | classForName(String name,
            Class<T> caller)Deprecated. 
 Instead use: 
 | 
| <T> boolean | equals(XClass class1,
      Class<T> class2) | 
| ClassLoaderDelegate | getClassLoaderDelegate()Access to the ClassLoaderDelegate currently associated with this ReflectionManager | 
| Map | getDefaults() | 
| void | injectClassLoaderDelegate(ClassLoaderDelegate delegate)Allows injection of a ClassLoaderDelegate into the ReflectionManager | 
| XPackage | packageForName(String packageName) | 
| Class | toClass(XClass xClazz) | 
| Method | toMethod(XMethod method) | 
| <T> XClass | toXClass(Class<T> clazz) | 
void injectClassLoaderDelegate(ClassLoaderDelegate delegate)
delegate - The ClassLoaderDelegate to useClassLoaderDelegate getClassLoaderDelegate()
@Deprecated <T> XClass classForName(String name, Class<T> caller) throws ClassNotFoundException
toXClass(Class) after resolving the Class yourself
     classForName(String) after having injected the proper ClassLoaderDelegate to use via
         injectClassLoaderDelegate(org.hibernate.annotations.common.reflection.ClassLoaderDelegate)
     T - name - caller - ClassNotFoundExceptionXClass classForName(String name) throws ClassLoadingException
getClassLoaderDelegate()) to resolve the Class referencename - The name of the Class to load (as an XClass)ClassLoadingException - Indicates a problem resolving the Class; see ClassLoaderDelegate.classForName(java.lang.String)XPackage packageForName(String packageName) throws ClassNotFoundException
ClassNotFoundExceptionAnnotationReader buildAnnotationReader(AnnotatedElement annotatedElement)
Map getDefaults()
Copyright © 2017 JBoss by Red Hat. All rights reserved.