service.beginProtected();
	public boolean execute() throws Exception {	    Thread.currentThread().setName("XQuery Thread");	    		Collection col = DatabaseManager.getCollection(collectionPath);		System.out.println(Thread.currentThread().getName() + ": executing query: " + xquery);		XPathQueryServiceImpl service = (XPathQueryServiceImpl)			col.getService("XPathQueryService", "1.0");				service.beginProtected();		ResourceSet result = service.query(xquery);		System.out.println(Thread.currentThread().getName() + ": found " + result.getSize());				DefaultHandler handler = new DefaultHandler();		for (ResourceIterator i = result.getIterator(); i.hasMoreResources(); ) {			XMLResource next = (XMLResource) i.nextResource();			next.getContentAsSAX(handler);		}		service.endProtected();				return false;	}