Make org.adempiere.plugin.utils.AdempiereActivator more overridable
This commit is contained in:
parent
589ea82c46
commit
ee8cc74127
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue