if (_injectManager != null)
_injectManager.addManagedBean(_injectManager.createManagedBean(resinValidatorClass));
// XXX initialcontextfactory broken when set by non-resin container
AbstractModel model = InitialContextFactoryImpl.createRoot();
_context = new ContextImpl(model, null);
} finally {
thread.setContextClassLoader(oldLoader);
}
}