org.hibernate.reflection.java
Class JavaXFactory
java.lang.Object
org.hibernate.reflection.java.JavaXFactory
- All Implemented Interfaces:
- ReflectionManager
public class JavaXFactory
- extends Object
- implements ReflectionManager
The factory for all the objects in this package.
- Author:
- Paolo Perrotta, Davide Marchignoli
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JavaXFactory
public JavaXFactory()
toXClass
public XClass toXClass(Class clazz)
- Specified by:
toXClass
in interface ReflectionManager
toClass
public Class toClass(XClass xClazz)
- Specified by:
toClass
in interface ReflectionManager
classForName
public XClass classForName(String name,
Class caller)
throws ClassNotFoundException
- Specified by:
classForName
in interface ReflectionManager
- Throws:
ClassNotFoundException
packageForName
public XPackage packageForName(String packageName)
throws ClassNotFoundException
- Specified by:
packageForName
in interface ReflectionManager
- Throws:
ClassNotFoundException
toXType
public org.hibernate.reflection.java.JavaXType toXType(TypeEnvironment context,
Type propType)
equals
public boolean equals(XClass class1,
Class class2)
- Specified by:
equals
in interface ReflectionManager
toApproximatingEnvironment
public TypeEnvironment toApproximatingEnvironment(TypeEnvironment context)