Improve nested OSGi runtimes
[lgpl/argeo-commons.git] / org.argeo.init / src / org / argeo / api / init / InitConstants.java
index 3c558f89851167b8e7175be260a8d4d6fd3f9520..188b3c253e83a308df00a47585018107fb3ef44e 100644 (file)
@@ -5,17 +5,30 @@ public interface InitConstants {
 
        String PROP_ARGEO_OSGI_SOURCES = "argeo.osgi.sources";
        String PROP_ARGEO_OSGI_START = "argeo.osgi.start";
+
+       String PROP_OSGI_USE_SYSTEM_PROPERTIES = "osgi.framework.useSystemProperties";
+
        String PROP_OSGI_INSTANCE_AREA = "osgi.instance.area";
        String PROP_OSGI_CONFIGURATION_AREA = "osgi.configuration.area";
        String PROP_OSGI_SHARED_CONFIGURATION_AREA = "osgi.sharedConfiguration.area";
+       String PROP_OSGI_SHARED_CONFIGURATION_AREA_RO = "osgi.sharedConfiguration.area.readOnly";
        String PROP_ARGEO_OSGI_MAX_START_LEVEL = "argeo.osgi.maxStartLevel";
-       /** UUID of the parent framework. Marks a nested runtime. */
-       String PROP_ARGEO_OSGI_PARENT_UUID = "argeo.osgi.parent.uuid";
-
-       // OSGi standard properties
        String PROP_OSGI_BUNDLES_DEFAULTSTARTLEVEL = "osgi.bundles.defaultStartLevel";
        String PROP_OSGI_STARTLEVEL = "osgi.startLevel";
-       String PROP_OSGI_USE_SYSTEM_PROPERTIES = "osgi.framework.useSystemProperties";
+
+       // FOREIGN RUNTIME PROPERTIES
+       /**
+        * UUID of the parent framework. It is set by the parent runtime and marks a
+        * nested runtime.
+        */
+       String PROP_ARGEO_OSGI_PARENT_UUID = "argeo.osgi.parent.uuid";
+       /**
+        * The A2 categories to load from the parent. If not specified, nested runtimes
+        * won't be used.
+        */
+       @Deprecated
+       String PROP_ARGEO_OSGI_PARENT_CATEGORIES = "argeo.osgi.parent.categories";
+       String PROP_ARGEO_OSGI_EXPORT_CATEGORIES = "argeo.osgi.export.categories";
 
        // Symbolic names
        String SYMBOLIC_NAME_INIT = "org.argeo.init";