conn = getTConnection();
TXMLObjectAccessor accessor = conn.newXMLObjectAccessor(TAccessLocation.newInstance(collection), model);
TResponse response = accessor.query(TQuery.newInstance(pQuery));
for (TXMLObjectIterator iter = response.getXMLObjectIterator();
iter.hasNext(); ) {
TXMLObject object = iter.next();
pObserver.notify(((TJMElement) object.getElement()).getJMElement());
}
} catch (TServerNotAvailableException e) {
throw new PMException(e);
} catch (NamingException e) {
throw new PMException(e);