) throws PException {
if (hints == null || hints.length() == 0)
throw new SpeedoRuntimeException(
"Impossible to get the PNamingContext of the class " + className
+ ": Specified PNameManager class is not valid: " + hints);
PNameManager pnm = (PNameManager) pnamingContexts.get(className);
if (pnm != null && (hints.indexOf(NamingManagerHelper.POLYMORPHIC_PNC) == -1))
return pnm;
NamingManager nm = nmf.getNamingManager(hints, classLoader);
if (nm.supportPNamingcontext()) {
pnm = nm.getPNamingContext(className, hints, classLoader,