PluginContainerConfiguration config = new PluginContainerConfiguration();
config.setPluginFinder(new FileSystemPluginFinder(pluginDir));
config.setPluginDirectory(pluginDir);
ServerServices services = new ServerServices();
OperationServerServiceImpl callbackListener = new OperationServerServiceImpl();
callbackListener.setHistoryBean(historyManager);
services.setOperationServerService(callbackListener);
config.setServerServices(services);
PluginContainer container = PluginContainer.getInstance();