1 18 package org.objectweb.speedo.mapper.api; 19 20 import org.objectweb.jorm.api.PClassMapping; 21 import org.objectweb.jorm.api.PException; 22 import org.objectweb.jorm.naming.api.PNamingContext; 23 import org.objectweb.jorm.naming.api.PBinder; 24 25 31 public interface JormFactory { 32 33 41 PBinder getPBinder(Class clazz) throws PException; 42 43 53 PBinder getPBinder(String classname, ClassLoader cl) throws PException; 54 55 64 PClassMapping getPClassMapping(String classname, ClassLoader cl) throws PException; 65 66 78 PClassMapping getPClassMapping(Class clazz) throws PException; 79 80 85 PClassMapping getGenClassMapping(String path); 86 87 95 PNamingContext getPNamingContext(String classname, ClassLoader cl) throws PException; 96 97 104 PNamingContext getPNamingContext(Class clazz) throws PException; 105 106 110 ClassLoader getClassLoader(String className); 111 112 115 byte getMappingStructureRule(); 116 117 } 118 | Popular Tags |