}
Class clazz = Class.forName(className);
manager = (XFormsSessionManager)clazz.getMethod("getInstance", (Class[])null).invoke(clazz,(Object[])null);
}
catch (ClassCastException cce) {
throw new XFormsConfigException(cce);
} catch (IllegalAccessException e) {
throw new XFormsConfigException(e);
} catch (ClassNotFoundException e) {
throw new XFormsConfigException(e);
} catch (NoSuchMethodException e) {
LOGGER.fatal("Class '" + className +"' has no getInstance method") ;
e.printStackTrace();
} catch (InvocationTargetException e) {
LOGGER.fatal("Error invoking Class '" + className +"'") ;