catch(ClassNotFoundException ex)
{
}
catch(Exception ex)
{
throw new INITIALIZE(
"can't instantiate ORBSingleton implementation " + className);
}
ClassLoader cl = Thread.currentThread().getContextClassLoader();
if( cl == null )
cl = ClassLoader.getSystemClassLoader();
try
{
delegate = (ORB) Class.forName(className, true, cl).newInstance();
}
catch(Exception ex)
{
throw new INITIALIZE(
"can't instantiate ORBSingleton implementation " + className);
}
}
}