|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
The Manager object is the main interface to create the meta information. This object is able to register mapping factories, and to create schema objects.
| Method Summary | |
void |
addMappingFactory(java.lang.String mapperName,
java.lang.String mappingFactory)
Adds a mapping factory to the current metainformation manager. |
Schema |
createSchema(java.lang.String schemaName)
Returns a new schema. |
java.util.Iterator |
getAllClassIterator()
Build an iterator to iterate all classes in the meta information (composite names are excluded) |
Class |
getClass(java.lang.String className)
Searches a class into all the declared schemas and returns it. |
MappingFactory |
getMappingFactory(java.lang.String mapperName)
Returns a mapping factory corresponding to a mapper name. |
PTypeSpace |
getPTypeSpace()
Returns the PTypeSpace structure. |
Schema |
getSchema(java.lang.String schemaName)
Returns an existing schema. |
void |
init()
|
void |
init(BasicClassLoader classloader)
Deprecated. Basic ClassLoader is not a classloader. Need refactoring (Christophe Ney) |
java.util.Iterator |
iterateSchema()
Allows to know all the declared schemas into the current metainformation manager. |
| Methods inherited from interface org.objectweb.jorm.metainfo.api.MetaObject |
getParent, setParent |
| Method Detail |
public void init(BasicClassLoader classloader)
classloader - a single class loader to load class into the
meta informationpublic void init()
public Schema getSchema(java.lang.String schemaName)
schemaName - the name of the schemapublic Schema createSchema(java.lang.String schemaName)
schemaName - the name of the schemapublic java.util.Iterator iterateSchema()
public void addMappingFactory(java.lang.String mapperName,
java.lang.String mappingFactory)
mapperName - the name of the mapper (i.e: OR for rdb)mappingFactory - the mapping factory to add to the list of
existing mapping factoriespublic MappingFactory getMappingFactory(java.lang.String mapperName)
mapperName - the name of the mapper to obtainpublic Class getClass(java.lang.String className)
className - the name of the class to searchpublic java.util.Iterator getAllClassIterator()
public PTypeSpace getPTypeSpace()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||