Make org.adempiere.plugin.utils.AdempiereActivator more overridable
This commit is contained in:
dantam 2012-06-11 22:19:28 +02:00
parent 589ea82c46
commit ee8cc74127
1 changed files with 5 additions and 1 deletions

View File

@ -16,7 +16,7 @@ import org.osgi.framework.BundleContext;
public class AdempiereActivator implements BundleActivator { public class AdempiereActivator implements BundleActivator {
private final static Logger logger = Logger protected final static Logger logger = Logger
.getLogger(AdempiereActivator.class.getName()); .getLogger(AdempiereActivator.class.getName());
private BundleContext context; private BundleContext context;
@ -76,6 +76,10 @@ public class AdempiereActivator implements BundleActivator {
return context; return context;
} }
protected void setContext(BundleContext context) {
this.context = context;
}
@Override @Override
public void stop(BundleContext context) throws Exception { public void stop(BundleContext context) throws Exception {
stop(); stop();