use of eu.esdihumboldt.hale.common.core.service.cleanup.impl.CleanupServiceImpl in project hale by halestudio.
the class CoreBundle method start.
/**
* @see BundleActivator#start(BundleContext)
*/
@Override
public void start(BundleContext context) throws Exception {
CoreBundle.activated = true;
this.context = context;
// TODO register clean up service in a way that it is also available
// in a non-OSGi context?
cleanupService = new CleanupServiceImpl();
cleanupServiceRef = context.registerService(CleanupService.class, cleanupService, new Hashtable<String, Object>());
CoreBundle.instance = this;
}
Aggregations