/** * Close and destroy all components.s */ public void destroy() { if (!destroyed) { LifeCycleUtil.close(collectionReader); LifeCycleUtil.destroy(collectionReader); LifeCycleUtil.destroy(analysisEngines); destroyed = true; } }
/** * Close and destroy all components.s */ public void destroy() { if (!destroyed) { LifeCycleUtil.close(collectionReader); LifeCycleUtil.destroy(collectionReader); LifeCycleUtil.destroy(analysisEngines); destroyed = true; } }