Class manager = null;
try
{
manager = Class.forName(name);
}
catch (ClassNotFoundException e)
{
return;
}
Method oMethod = null;
try
{
oMethod = manager.getMethod("getInstance", null);
}
catch (Exception e)
{
return;
}
IInitializable initializable = null;
try
{
initializable = (IInitializable) oMethod.invoke(null, null);
}
catch (Exception e)
{
return;
}
try
{
initializable.init(xmlStatic);
}
catch (Throwable e)
{
return;
}