Resource platform = discoverPlatform();
Resource defaultDS = findService("DefaultDS", SERVER_NAME, platform);
String operationName = "flush";
PluginContainer pc = PluginContainer.getInstance();
OperationAgentService operationAgentService = pc.getOperationAgentService();
operationAgentService.invokeOperation("1", defaultDS.getId(), operationName, null);
}