Search in sources :

Example 1 with OrientInstanceService

use of eu.esdihumboldt.hale.ui.service.instance.internal.orient.OrientInstanceService in project hale by halestudio.

the class HALEUIPlugin method stop.

/**
 * @see AbstractUIPlugin#stop(BundleContext)
 */
@Override
public void stop(BundleContext context) throws Exception {
    // save reports
    this.repService.saveReportsOnShutdown();
    // remove temporary databases
    OrientInstanceService ois = OrientInstanceService.getExistingInstance();
    if (ois != null) {
        ois.dispose();
    }
    // shutdown plugin
    plugin = null;
    super.stop(context);
}
Also used : OrientInstanceService(eu.esdihumboldt.hale.ui.service.instance.internal.orient.OrientInstanceService)

Aggregations

OrientInstanceService (eu.esdihumboldt.hale.ui.service.instance.internal.orient.OrientInstanceService)1