String resourceDir = SettingUtil.getStringSetting("openbp.cockpit.resource.dir");
if (resourceDir != null)
{
ResourceLoader loader = ResourceMgr.getDefaultInstance().getResourceLoader();
FileResourceProvider rp = new FileResourceProvider(ResourceMgr.ROOTDIR_RESOURCE_PROVIDER_PRIO + 1, loader, resourceDir);
ResourceMgr.getDefaultInstance().getResourceResolver().addProvider(rp);
}
// Load base plugins
PluginMgr.getInstance().createInstance(ServerConnectionPlugin.class, this);