Package com.esri.gpt.catalog.publication

Examples of com.esri.gpt.catalog.publication.ProcessedRecord


          // collect
          try {
            LOGGER.log(Level.FINER, "Collecting metadata for: {0}", info.getSoapUrl());
            handler.collectMetadata(this,info);
          } catch (Exception e) {
            ProcessedRecord processedRcord = new ProcessedRecord();
            processedRcord.setSourceUri(info.getResourceUrl());
            processedRcord.setStatusType(ProcessedRecord.StatusType.FAILED);
            processedRcord.setException(e,this.getContext().getMessageBroker());
            this.getContext().incrementNumberFailed();
            this.getContext().setLastException(e);
            this.getContext().getProcessedRecords().add(processedRcord);
            LOGGER.log(Level.FINER,"Error\n"+processedRcord.getSourceUri(),e);
          }
         
          // publish
          try {
            LOGGER.log(Level.FINER, "Publishing metadata for: {0}", info.getResourceUrl());
View Full Code Here

TOP

Related Classes of com.esri.gpt.catalog.publication.ProcessedRecord

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.