| /* |
| * Copyright 2005 The Apache Software Foundation |
| * |
| * Licensed under the Apache License, Version 2.0 (the "License"); |
| * you may not use this file except in compliance with the License. |
| * You may obtain a copy of the License at |
| * |
| * http://www.apache.org/licenses/LICENSE-2.0 |
| * |
| * Unless required by applicable law or agreed to in writing, software |
| * distributed under the License is distributed on an "AS IS" BASIS, |
| * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| * See the License for the specific language governing permissions and |
| * limitations under the License. |
| * |
| */ |
| package org.apache.osgi.framework.util; |
| |
| public interface FelixConstants extends org.osgi.framework.Constants |
| { |
| // Framework constants and values. |
| public static final String FRAMEWORK_VERSION_VALUE = "4.0"; |
| public static final String FRAMEWORK_VENDOR_VALUE = "Apache"; |
| |
| // Framework constants and values. |
| public static final String FELIX_VERSION_PROPERTY = "felix.version"; |
| public static final String FELIX_VERSION_VALUE = "2.0.0.alpha8"; |
| |
| // Miscellaneous manifest constants. |
| public static final String DIRECTIVE_SEPARATOR = ":="; |
| public static final String ATTRIBUTE_SEPARATOR = "="; |
| public static final String CLASS_PATH_SEPARATOR = ","; |
| public static final String CLASS_PATH_DOT = "."; |
| public static final String PACKAGE_SEPARATOR = ";"; |
| public static final String VERSION_SEGMENT_SEPARATOR = "."; |
| public static final int VERSION_SEGMENT_COUNT = 3; |
| |
| // Miscellaneous OSGi constants. |
| public static final String BUNDLE_URL_PROTOCOL = "bundle"; |
| |
| // Miscellaneous framework configuration property names. |
| public static final String AUTO_INSTALL_PROP = "felix.auto.install"; |
| public static final String AUTO_START_PROP = "felix.auto.start"; |
| public static final String EMBEDDED_EXECUTION_PROP = "felix.embedded.execution"; |
| public static final String STRICT_OSGI_PROP = "felix.strict.osgi"; |
| public static final String CACHE_CLASS_PROP = "felix.cache.class"; |
| public static final String FRAMEWORK_STARTLEVEL_PROP |
| = "felix.startlevel.framework"; |
| public static final String BUNDLE_STARTLEVEL_PROP |
| = "felix.startlevel.bundle"; |
| |
| // Start level-related constants. |
| public static final int FRAMEWORK_INACTIVE_STARTLEVEL = 0; |
| public static final int FRAMEWORK_DEFAULT_STARTLEVEL = 1; |
| public static final int SYSTEMBUNDLE_DEFAULT_STARTLEVEL = 0; |
| public static final int BUNDLE_DEFAULT_STARTLEVEL = 1; |
| |
| // Miscellaneous properties values. |
| public static final String FAKE_URL_PROTOCOL_VALUE = "location:"; |
| } |