Package org.apache.uima.aae.controller.BaseAnalysisEngineController

Examples of org.apache.uima.aae.controller.BaseAnalysisEngineController.ServiceState


    // For all delegates ...
    for (Iterator it = set.iterator(); it.hasNext();) {
        delegates.append("\n");
        Map.Entry entry = (Map.Entry) it.next();
        Endpoint endpoint = (Endpoint) entry.getValue();
        ServiceState state = ServiceState.INITIALIZING;
        if ( endpoint.isRemote() ) {
            if ( endpoint.isInitialized() ) {
              state = ServiceState.RUNNING;
            }
            delegates.append(lbl1+lbl1+"Remote Delegate:"+endpoint.getDelegateKey()+" State: "+state.toString());
        } else {
          if ( endpoint.isInitialized() ) {
            state = ServiceState.RUNNING;
          }
          delegates.append(lbl1+lbl1+"Co-located Delegate:"+endpoint.getDelegateKey()+" State: "+state.toString());
          //  If a delegate is an aggregate, call its dumpState method
          synchronized(childControllerList) {
            if ( childControllerList.size() > 0 ) {
              for( AnalysisEngineController childController : childControllerList ) {
                if ( endpoint.getDelegateKey().equals(childController.getKey()) && !childController.isPrimitive()) {
View Full Code Here


      // For all delegates ...
      for (Iterator it = set.iterator(); it.hasNext();) {
        delegates.append("\n");
        Map.Entry entry = (Map.Entry) it.next();
        Endpoint endpoint = (Endpoint) entry.getValue();
        ServiceState state = ServiceState.INITIALIZING;
        if ( endpoint.isRemote() ) {
            if ( endpoint.isInitialized() ) {
              state = ServiceState.RUNNING;
            }
            delegates.append(lbl1+lbl1+"Remote Delegate:"+endpoint.getDelegateKey()+" State: "+state.toString());
        } else {
          if ( endpoint.isInitialized() ) {
            state = ServiceState.RUNNING;
          }
          delegates.append(lbl1+lbl1+"Co-located Delegate:"+endpoint.getDelegateKey()+" State: "+state.toString());
          //  If a delegate is an aggregate, call its dumpState method
          synchronized(childControllerList) {
            if ( childControllerList.size() > 0 ) {
              for( AnalysisEngineController childController : childControllerList ) {
                if ( endpoint.getDelegateKey().equals(childController.getKey()) && !childController.isPrimitive()) {
View Full Code Here

TOP

Related Classes of org.apache.uima.aae.controller.BaseAnalysisEngineController.ServiceState

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.