XUpdateQueryServiceImpl xupdate = new XUpdateQueryServiceImpl();
xupdate.setCollection(this);
registerService(xupdate);
try {
CollectionManagementServiceImpl manager = new CollectionManagementServiceImpl();
manager.setCollection(this);
registerService(manager);
// CollectionManagementServiceImpl provides both standard access as a
// CollectionManagementService and Xindice specific access as a
// CollectionManager and DatabaseInstanceManager.
// We need to register it explicitly to make it available
services.put("CollectionManager" + manager.getVersion(), manager);
services.put("DatabaseInstanceManager" + manager.getVersion(), manager);
}
catch (Exception e) {
throw FaultCodes.createXMLDBException(e);
}
}