}
}
private PluginContainerConfiguration createPluginContainerConfiguration() throws MalformedURLException
{
PluginContainerConfiguration config = new PluginContainerConfiguration();
config.setPluginFinder(createPluginFinder());
setPluginContainerDataDirectory(config);
config.setTemporaryDirectory(initTempDir());
config.setContentDiscoveryPeriod(0);
ServerServices services = new ServerServices();
// Create operation listener
OperationServerServiceImpl callbackListener = new OperationServerServiceImpl();
callbackListener.setHistoryBean(this.historyManager);
// Create content listener
ContentServerServiceImpl contentListener = new ContentServerServiceImpl();
contentListener.setHistoryBean(this.contentHistoryManager);
// Add listeners to ServerServices
services.setOperationServerService(callbackListener);
services.setContentServerService(contentListener);
config.setServerServices(services);
return config;
}