exportDescription100( writer, process, processDefToWSDLUrl.get( process.getDescription() ) );
private static ExceptionCustomizer lookupExceptionCustomizer( CodeType processId, Map<CodeType, WPSProcess> idToProcess ) { ExceptionCustomizer result = idToProcess.get( processId ).getExceptionCustomizer(); if ( result == null ) { result = new DefaultExceptionCustomizer( processId ); } return result; }
@Override public void destroy() { for ( WPSProcess process : idToProcess.values() ) { process.getProcesslet().destroy(); } }
ProcessDefinition processDef = process.getDescription(); ExceptionCustomizer eCustomizer = process.getExceptionCustomizer() == null ? new DefaultExceptionCustomizer( null ) : process.getExceptionCustomizer();
ProcessDefinition processDef = process.getDescription(); CodeType processId = new CodeType( processDef.getIdentifier().getValue(), processDef.getIdentifier().getCodeSpace() );
ProcessWorker worker = new ProcessWorker( process.getProcesslet(), outputs, state, outputParams, responseStorage, request, serviceInstance ); exec.execute( worker ); executeProcess( process.getProcesslet(), inputs, outputs, state );
ProcessDefinition processDef = process.getDescription(); ExceptionCustomizer eCustomizer = lookupExceptionCustomizer( processId, idToProcess );
executeProcess( process.getProcesslet(), inputs, outputParams, state ); if ( state.getExecutionState() == FAILED ) { OWSException e = state.getFailedException();
ProcessDefinition processDef = process.getDescription(); writer.writeStartElement( WPS_NS, "Process" ); writer.writeAttribute( WPS_NS, "processVersion", processDef.getProcessVersion() );
private static void exportDescription100( XMLStreamWriter writer, WPSProcess process, String wsdlURL ) throws XMLStreamException { ProcessDefinition processDef = process.getDescription();