1 package org
.argeo
.eclipse
.spring
;
3 import org
.eclipse
.ui
.plugin
.AbstractUIPlugin
;
4 import org
.osgi
.framework
.BundleContext
;
5 import org
.springframework
.context
.ApplicationContext
;
7 public abstract class AbstractSpringUiPlugin
extends AbstractUIPlugin
{
8 private BundleContext bundleContext
;
11 public void start(BundleContext context
) throws Exception
{
13 this.bundleContext
= context
;
17 public void stop(BundleContext context
) throws Exception
{
21 public ApplicationContext
getApplicationContext() {
22 return ApplicationContextTracker
.getApplicationContext(bundleContext