Clean up before implementing i18n support
[lgpl/argeo-commons.git] / org.argeo.cms / src / org / argeo / cms / internal / kernel / Activator.java
index a942b4b18452816aa11fcb218f27affda90a10d5..1d40c99463c07e58a35ae59b1b900040acc5f7fb 100644 (file)
@@ -22,7 +22,7 @@ public class Activator implements BundleActivator {
        }
 
        private static BundleContext bundleContext;
-       private Kernel kernel;
+       private static Kernel kernel;
 
        @Override
        public void start(BundleContext context) throws Exception {
@@ -54,6 +54,10 @@ public class Activator implements BundleActivator {
                return bundleContext;
        }
 
+       public static KernelHeader getKernelHeader() {
+               return kernel;
+       }
+
        /**
         * @return a String which is guaranteed to be unique between and constant
         *         within a Java static context (typically a VM launch)