blob: a86b939d68c7fb3b0cd64abc287ad7fe39db5cf8 [file] [log] [blame]
Richard S. Hall930fecc2005-08-16 18:33:34 +00001/*
2 * Copyright 2005 The Apache Software Foundation
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 *
16 */
Richard S. Hall5a031592005-08-19 19:53:58 +000017package org.apache.felix.framework.util;
Richard S. Hall930fecc2005-08-16 18:33:34 +000018
19public interface FelixConstants extends org.osgi.framework.Constants
20{
21 // Framework constants and values.
22 public static final String FRAMEWORK_VERSION_VALUE = "4.0";
Alex Karasulu5cfd2a02006-03-09 14:15:38 +000023 public static final String FRAMEWORK_VENDOR_VALUE = "Apache Software Foundation";
Richard S. Hall930fecc2005-08-16 18:33:34 +000024
25 // Framework constants and values.
26 public static final String FELIX_VERSION_PROPERTY = "felix.version";
Alex Karasulu5cfd2a02006-03-09 14:15:38 +000027
Richard S. Hall930fecc2005-08-16 18:33:34 +000028 // Miscellaneous manifest constants.
29 public static final String DIRECTIVE_SEPARATOR = ":=";
30 public static final String ATTRIBUTE_SEPARATOR = "=";
31 public static final String CLASS_PATH_SEPARATOR = ",";
32 public static final String CLASS_PATH_DOT = ".";
33 public static final String PACKAGE_SEPARATOR = ";";
34 public static final String VERSION_SEGMENT_SEPARATOR = ".";
35 public static final int VERSION_SEGMENT_COUNT = 3;
36
37 // Miscellaneous OSGi constants.
38 public static final String BUNDLE_URL_PROTOCOL = "bundle";
39
40 // Miscellaneous framework configuration property names.
41 public static final String AUTO_INSTALL_PROP = "felix.auto.install";
42 public static final String AUTO_START_PROP = "felix.auto.start";
43 public static final String EMBEDDED_EXECUTION_PROP = "felix.embedded.execution";
44 public static final String STRICT_OSGI_PROP = "felix.strict.osgi";
Richard S. Hall930fecc2005-08-16 18:33:34 +000045 public static final String FRAMEWORK_STARTLEVEL_PROP
46 = "felix.startlevel.framework";
47 public static final String BUNDLE_STARTLEVEL_PROP
48 = "felix.startlevel.bundle";
Richard S. Hall251cc662005-11-08 08:48:19 +000049 public static final String SERVICE_URLHANDLERS_PROP = "framework.service.urlhandlers";
Richard S. Hall930fecc2005-08-16 18:33:34 +000050
51 // Start level-related constants.
52 public static final int FRAMEWORK_INACTIVE_STARTLEVEL = 0;
53 public static final int FRAMEWORK_DEFAULT_STARTLEVEL = 1;
54 public static final int SYSTEMBUNDLE_DEFAULT_STARTLEVEL = 0;
55 public static final int BUNDLE_DEFAULT_STARTLEVEL = 1;
56
57 // Miscellaneous properties values.
58 public static final String FAKE_URL_PROTOCOL_VALUE = "location:";
Richard S. Hall68028462005-10-10 15:53:48 +000059}