Richard S. Hall | 930fecc | 2005-08-16 18:33:34 +0000 | [diff] [blame] | 1 | /* |
| 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. Hall | 5a03159 | 2005-08-19 19:53:58 +0000 | [diff] [blame] | 17 | package org.apache.felix.framework.util; |
Richard S. Hall | 930fecc | 2005-08-16 18:33:34 +0000 | [diff] [blame] | 18 | |
| 19 | public interface FelixConstants extends org.osgi.framework.Constants |
| 20 | { |
| 21 | // Framework constants and values. |
| 22 | public static final String FRAMEWORK_VERSION_VALUE = "4.0"; |
Alex Karasulu | 5cfd2a0 | 2006-03-09 14:15:38 +0000 | [diff] [blame^] | 23 | public static final String FRAMEWORK_VENDOR_VALUE = "Apache Software Foundation"; |
Richard S. Hall | 930fecc | 2005-08-16 18:33:34 +0000 | [diff] [blame] | 24 | |
| 25 | // Framework constants and values. |
| 26 | public static final String FELIX_VERSION_PROPERTY = "felix.version"; |
Alex Karasulu | 5cfd2a0 | 2006-03-09 14:15:38 +0000 | [diff] [blame^] | 27 | |
Richard S. Hall | 930fecc | 2005-08-16 18:33:34 +0000 | [diff] [blame] | 28 | // 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. Hall | 930fecc | 2005-08-16 18:33:34 +0000 | [diff] [blame] | 45 | 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. Hall | 251cc66 | 2005-11-08 08:48:19 +0000 | [diff] [blame] | 49 | public static final String SERVICE_URLHANDLERS_PROP = "framework.service.urlhandlers"; |
Richard S. Hall | 930fecc | 2005-08-16 18:33:34 +0000 | [diff] [blame] | 50 | |
| 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. Hall | 6802846 | 2005-10-10 15:53:48 +0000 | [diff] [blame] | 59 | } |