org.castor.cpa.jpa.info
Class ClassInfoRegistry
java.lang.Object
org.castor.cpa.jpa.info.ClassInfoRegistry
public class ClassInfoRegistry
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClassInfoRegistry
public ClassInfoRegistry()
getClassInfo
public static ClassInfo getClassInfo(Class<?> type)
- Returns the
ClassInfo instance registered for the given Class type.
- Parameters:
type - A given Class type.
- Returns:
- The
ClassInfo registered for the given Class type.
registerClassInfo
public static void registerClassInfo(Class<?> type,
ClassInfo classInfo)
- Registers a
ClassInfo instance for the given Class instance.
- Parameters:
type - A given Class type.classInfo - The ClassInfo instance to register.
Copyright © 2011. All Rights Reserved.