* @throws ResourceServiceException
*/
public void collectionProcessComplete() throws ResourceServiceException {
try {
if (conn != null && conn.isOpen()) {
VinciFrame query = new VinciFrame();
query.fadd("vinci:COMMAND", Constants.COLLECTION_PROCESS_COMPLETE);
if (UIMAFramework.getLogger().isLoggable(Level.INFO)) {
UIMAFramework.getLogger(this.getClass()).logrb(
Level.FINEST,
this.getClass().getName(),
"process",
CPMUtils.CPM_LOG_RESOURCE_BUNDLE,
"UIMA_CPM_send_collection_complete__FINEST",
new Object[] { Thread.currentThread().getName(), conn.getHost(),
String.valueOf(conn.getPort()), query.toXML() });
UIMAFramework.getLogger(this.getClass()).log(Level.INFO,
" Sending COLLECTION PROCESS COMPLETE TO Service\n" + query.toXML());
}
// Send notification to service
conn.sendAndReceive(query);
}
} catch (Exception e) {