if (loadedTerminalManagers.contains(className)) {
return;//already loaded this one...
}
try {
Class theClass = arg.getPlugInClass(className);
GenericTerminalManager manager = (GenericTerminalManager) theClass.newInstance();
if (null != manager) {
manager.loadConfiguration(confFolderName, appName);
terminalManagers.add(manager);
loadedTerminalManagers.add(className);
}
} catch (Throwable ex) {
throw new RuntimeException(ex);