Package org.apache.uima.resourceSpecifier.factory

Examples of org.apache.uima.resourceSpecifier.factory.AggregateDelegateEngine


        } else {
          AnalysisEngineType dcaet = dt.addNewAnalysisEngine();
          dcaet.setKey(delegate.getKey());
          //  colocated delegate, either nested aggregate or primitive
          if ( ((ColocatedDelegateConfiguration)delegate).isAggregate() ) {
            AggregateDelegateEngine a1 = new AggregateDelegateEngineImpl( dcaet, delegate.getKey(), context, (ColocatedDelegateConfiguration)delegate);
            containingAggregate.addDelegate( a1 );
            //  recursive call to handle nested aggregate delegates
            addDelegateEngine(a1, ((ColocatedDelegateConfiguration)delegate).getDelegates(), dcaet.addNewDelegates(), context);
          } else {
            // primitive
View Full Code Here


      cm = new CasMultiplierImpl(tlea.addNewCasMultiplier(),context);
    }
    if ( delegateConfigurations != null && delegateConfigurations.length > 0) {
      tlea.setAsync("true");
      //DelegateColocatedAnalysisEngineType dcaet = dt.addNewAnalysisEngine();
      AggregateDelegateEngine aggregateDelegateEngine = new AggregateDelegateEngineImpl( tlea, "", context, delegateConfigurations);

      delegates = new DelegatesImpl(tlea.addNewDelegates(),aggregateDelegateEngine, context, delegateConfigurations);
    } else {
      tlea.setAsync(String.valueOf(context.isAsync()));
      ec = new AsyncPrimitiveErrorConfigurationImpl(tlea.addNewAsyncPrimitiveErrorConfiguration(),context,true);
View Full Code Here

TOP

Related Classes of org.apache.uima.resourceSpecifier.factory.AggregateDelegateEngine

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.