|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
It defines a Jorm configurator which manages the PClassMapping, the PBinder and the PNamingContext for persistent classes.
Method Summary | |
java.lang.ClassLoader |
getClassLoader(java.lang.String className)
Retrieves the classloader of a class if the class has been already mapped. |
PClassMapping |
getGenClassMapping(java.lang.String path)
Retrieve the PClassMapping of a gen class since its path |
byte |
getMappingStructureRule()
|
PBinder |
getPBinder(java.lang.Class clazz)
Retrieve the Binder managing the persistent class (Not a Generic class). |
PBinder |
getPBinder(java.lang.String classname,
java.lang.ClassLoader cl)
Retrieve the Binder managing the persistent class (Not a Generic class). |
PClassMapping |
getPClassMapping(java.lang.Class clazz)
Retrieves a PClassMapping instance managing a jorm class. |
PClassMapping |
getPClassMapping(java.lang.String classname,
java.lang.ClassLoader cl)
Is a shortcut to the call getPClassMapping(Class.forName(classname, cl, true)) |
PNamingContext |
getPNamingContext(java.lang.Class clazz)
Retrieve the PNamingcontext managing the persistent class (Not a Generic class) and its sub classes. |
PNamingContext |
getPNamingContext(java.lang.String classname,
java.lang.ClassLoader cl)
Is a shortcut to the call getPNamingContext(Class.forName(classname, cl, true)) |
Method Detail |
public PBinder getPBinder(java.lang.Class clazz) throws PException
clazz
- the Jorm class name managed which the PBinder is asked
PException
public PBinder getPBinder(java.lang.String classname, java.lang.ClassLoader cl) throws PException
classname
- is the class name of the jorm class which the
PBinder is requiredcl
- is the classloader where to find/load the class
PException
public PClassMapping getPClassMapping(java.lang.String classname, java.lang.ClassLoader cl) throws PException
classname
- is the class name of the jorm class which the
PClassMapping is requiredcl
- is the classloader where to find/load the class
PException
public PClassMapping getPClassMapping(java.lang.Class clazz) throws PException
clazz
- is the class of the jorm class which the
PClassMapping is required
PException
public PClassMapping getGenClassMapping(java.lang.String path)
path
- is the path representing the way to access the
GenClassMappingpublic PNamingContext getPNamingContext(java.lang.String classname, java.lang.ClassLoader cl) throws PException
classname
- the Jorm class name managed by the wanted PNamingContext
PException
getPNamingContext(Class)
public PNamingContext getPNamingContext(java.lang.Class clazz) throws PException
clazz
- the Jorm class name managed which the PNamingContext is asked
PException
public java.lang.ClassLoader getClassLoader(java.lang.String className)
public byte getMappingStructureRule()
JormFactoryAttributes
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |