Move Jetty factory to the servlet bundle
[lgpl/argeo-commons.git] / org.argeo.cms / src / org / argeo / cms / internal / runtime / CmsContextImpl.java
index 7ce2e8bd5dfa76a2a9546cfd56129795c8cd3ae5..8e29f667365e10870da3f4ebf36d873af2d31594 100644 (file)
@@ -39,7 +39,7 @@ public class CmsContextImpl implements CmsContext {
 //             initTrackers();
 //     }
 
-       public void init() {
+       public void start() {
                Object defaultLocaleValue = KernelUtils.getFrameworkProp(CmsConstants.I18N_DEFAULT_LOCALE);
                defaultLocale = defaultLocaleValue != null ? new Locale(defaultLocaleValue.toString())
                                : new Locale(ENGLISH.getLanguage());
@@ -70,7 +70,7 @@ public class CmsContextImpl implements CmsContext {
                setInstance(this);
        }
 
-       public void destroy() {
+       public void stop() {
                setInstance(null);
        }