Package org.apache.uima.resourceSpecifier

Examples of org.apache.uima.resourceSpecifier.RemoteAnalysisEngineType


   * @param context the context
   */
  private void addDelegateEngine(AggregateDelegateEngine containingAggregate, List<DelegateConfiguration> delegates, DelegatesType dt, ServiceContext context) {
      for( DelegateConfiguration delegate : delegates ) {
        if ( delegate.isRemote() ) {
          RemoteAnalysisEngineType draet = dt.addNewRemoteAnalysisEngine();
          draet.setKey(delegate.getKey());
          containingAggregate.addDelegate( new RemoteDelegateEngineImpl( draet, (RemoteDelegateConfiguration)delegate, context) );
        } else {
          AnalysisEngineType dcaet = dt.addNewAnalysisEngine();
          dcaet.setKey(delegate.getKey());
          //  colocated delegate, either nested aggregate or primitive
View Full Code Here

TOP

Related Classes of org.apache.uima.resourceSpecifier.RemoteAnalysisEngineType

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.