public PNamingContext getPNamingContext(String classname, ClassLoader cl) throws PException {
return getPNamingContext(getClass(classname, cl));
}
public PNamingContext getPNamingContext(Class clazz) throws PException {
PClassMapping pcm = getPClassMapping(clazz);
String className = clazz.getName();
String path = JormPathHelper.getPath(className);
Properties classProperties = getClassProperties(clazz);
String jormConf = classProperties.getProperty(path);
if (jormConf != null) {