|
||||||||||||
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. |
org.objectweb.jorm.api.PClassMapping |
getGenClassMapping(java.lang.String path)
Retrieve the PClassMapping of a gen class since its path |
byte |
getMappingStructureRule()
|
org.objectweb.jorm.naming.api.PBinder |
getPBinder(java.lang.Class clazz)
Retrieve the Binder managing the persistent class (Not a Generic class). |
org.objectweb.jorm.naming.api.PBinder |
getPBinder(java.lang.String classname,
java.lang.ClassLoader cl)
Retrieve the Binder managing the persistent class (Not a Generic class). |
org.objectweb.jorm.api.PClassMapping |
getPClassMapping(java.lang.Class clazz)
Retrieves a PClassMapping instance managing a jorm class. |
org.objectweb.jorm.api.PClassMapping |
getPClassMapping(java.lang.String classname,
java.lang.ClassLoader cl)
Is a shortcut to the call getPClassMapping(Class.forName(classname, cl, true)) |
org.objectweb.jorm.naming.api.PNamingContext |
getPNamingContext(java.lang.Class clazz)
Retrieve the PNamingcontext managing the persistent class (Not a Generic class) and its sub classes. |
org.objectweb.jorm.naming.api.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 org.objectweb.jorm.naming.api.PBinder getPBinder(java.lang.Class clazz) throws org.objectweb.jorm.api.PException
clazz
- the Jorm class name managed which the PBinder is asked
org.objectweb.jorm.api.PException
public org.objectweb.jorm.naming.api.PBinder getPBinder(java.lang.String classname, java.lang.ClassLoader cl) throws org.objectweb.jorm.api.PException
classname
- is the class name of the jorm class which the
PBinder is requiredcl
- is the classloader where to find/load the class
org.objectweb.jorm.api.PException
public org.objectweb.jorm.api.PClassMapping getPClassMapping(java.lang.String classname, java.lang.ClassLoader cl) throws org.objectweb.jorm.api.PException
classname
- is the class name of the jorm class which the
PClassMapping is requiredcl
- is the classloader where to find/load the class
org.objectweb.jorm.api.PException
public org.objectweb.jorm.api.PClassMapping getPClassMapping(java.lang.Class clazz) throws org.objectweb.jorm.api.PException
clazz
- is the class of the jorm class which the
PClassMapping is required
org.objectweb.jorm.api.PException
public org.objectweb.jorm.api.PClassMapping getGenClassMapping(java.lang.String path)
path
- is the path representing the way to access the
GenClassMappingpublic org.objectweb.jorm.naming.api.PNamingContext getPNamingContext(java.lang.String classname, java.lang.ClassLoader cl) throws org.objectweb.jorm.api.PException
classname
- the Jorm class name managed by the wanted PNamingContext
org.objectweb.jorm.api.PException
getPNamingContext(Class)
public org.objectweb.jorm.naming.api.PNamingContext getPNamingContext(java.lang.Class clazz) throws org.objectweb.jorm.api.PException
clazz
- the Jorm class name managed which the PNamingContext is asked
org.objectweb.jorm.api.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 |