/** * Called if AE initialization succeeds. Sets the AE state to Ready and time * it took to initialize the AE. * * @param ae * @param initStartTime */ private static void updateAeState(AnalysisEngine ae, long initStartTime) { if ( ae.getManagementInterface() instanceof AnalysisEngineManagementImpl) { ((AnalysisEngineManagementImpl)ae.getManagementInterface()).setState(State.Ready); ((AnalysisEngineManagementImpl)ae.getManagementInterface()). setInitializationTime( System.currentTimeMillis() - initStartTime); } } /**
public void dumpStatistics(PrintStream out) { out.println(""); out.println("+---------------------------+"); out.println("| UIMA Component Statistics |"); out.println("+---------------------------+"); out.println(""); AnalysisEngineManagement aem = ae.getManagementInterface(); dumpComponentStatistics(out, 0, aem); }
super.addUimaObject(ae.getManagementInterface().getUniqueMBeanName());
AnalysisEngineManagement rootAem = ae.getManagementInterface(); if ( rootAem.getComponents().size() > 0 ) { getLeafManagementObjects(rootAem, beforeAnalysisManagementObjects); AnalysisEngineManagement aem = ae.getManagementInterface(); if ( aem.getComponents().size() > 0) {