Remove deprecated warnings
[lgpl/argeo-commons.git] / org.argeo.cms / src / org / argeo / cms / internal / osgi / CmsActivator.java
index 5e047d38a6b06db35900bd5439533e164646ff96..59b226a53c61a284ade9a84288cb373c6048831c 100644 (file)
@@ -58,11 +58,11 @@ public class CmsActivator implements BundleActivator {
                } catch (Exception e) {
                        log.error("CMS activator shutdown failed", e);
                }
-               
+
                new GogoShellKiller().start();
        }
 
-       private void initSecurity() {
+       protected void initSecurity() {
                // code-level permissions
                String osgiSecurity = bundleContext.getProperty(Constants.FRAMEWORK_SECURITY);
                if (osgiSecurity != null && Constants.FRAMEWORK_SECURITY_OSGI.equals(osgiSecurity)) {
@@ -104,7 +104,6 @@ public class CmsActivator implements BundleActivator {
 //                     bundleContext.registerService(ArgeoLogger.class, logger, null);
 //     }
 
-
        public static <T> void registerService(Class<T> clss, T service, Dictionary<String, ?> properties) {
                if (bundleContext != null) {
                        bundleContext.registerService(clss, service, properties);
@@ -139,7 +138,6 @@ public class CmsActivator implements BundleActivator {
                bundleContext = null;
        }
 
-
        public static BundleContext getBundleContext() {
                return bundleContext;
        }