String className = Configuration.getPortletAppDescriptorServiceImpl();
try {
Class clazz = Class.forName(className);
portletDDService = (PortletAppDescriptorService) clazz.newInstance();
} catch (ClassNotFoundException ex) {
throw new PlutoConfigurationException(
"Unable to find class " + className, ex);
} catch (InstantiationException ex) {
throw new PlutoConfigurationException(
"Unable to instantiate class " + className, ex);
} catch (IllegalAccessException ex) {
throw new PlutoConfigurationException(
"Unable to access class " + className, ex);
}
}