Osgi console command: getprop

Source: Internet
Author: User

On the osgi console, type getprop directly to view all the parameters at the startup of the OGSI.

In fact, these parameters are defined in the startup class org. Eclipse. Core. runtime. adaptor. eclipsestarter of the eclipse platform (in the org. Eclipse. osgi plug-in). You can view the source code at a glance.
This class cannot be instantiated externally. It has a main method used to start the platform.
You can also start it through the startup method.
Eg:
String [] equinoxargs = {"-console", "1234", "-noexit "};
Bundlecontext context = eclipsestarter. startup (equinoxargs, null );

As follows:
// System Properties
Public static final string prop_bundles = "osgi. bundles"; // $ NON-NLS-1 $
Public static final string prop_bundles_startlevel = "osgi. Bundles. defaultstartlevel"; // $ NON-NLS-1 $ // The start level used to install the bundles
Public static final string prop_extensions = "osgi. Framework. Extensions"; // $ NON-NLS-1 $
Public static final string prop_initial_startlevel = "osgi. startlevel"; // $ NON-NLS-1 $ // The start level when the FWL start
Public static final string prop_debug = "osgi. debug"; // $ NON-NLS-1 $
Public static final string prop_dev = "osgi. Dev"; // $ NON-NLS-1 $
Public static final string prop_clean = "osgi. Clean"; // $ NON-NLS-1 $
Public static final string prop_console = "osgi. Console"; // $ NON-NLS-1 $
Public static final string prop_console_class = "osgi. consoleclass"; // $ NON-NLS-1 $
Public static final string prop_check_config = "osgi. checkconfiguration"; // $ NON-NLS-1 $
Public static final string prop_ OS = "osgi. OS"; // $ NON-NLS-1 $
Public static final string prop_ws = "osgi. ws"; // $ NON-NLS-1 $
Public static final string prop_nl = "osgi. nl"; // $ NON-NLS-1 $
Private Static final string prop_nl_extensions = "osgi. nl. Extensions"; // $ NON-NLS-1 $
Public static final string prop_arch = "osgi. Arch"; // $ NON-NLS-1 $
Public static final string prop_adaptor = "osgi. adaptor"; // $ NON-NLS-1 $
Public static final string prop_syspath = "osgi. syspath"; // $ NON-NLS-1 $
Public static final string prop_logfile = "osgi. logfile"; // $ NON-NLS-1 $
Public static final string prop_framework = "osgi. Framework"; // $ NON-NLS-1 $
Public static final string prop_install_area = "osgi. Install. Area"; // $ NON-NLS-1 $
Public static final string prop_framework_shape = "osgi. Framework. Shape"; // $ NON-NLS-1 $ // the shape of the fwk (jar, or folder)
Public static final string prop_noshutdown = "osgi. noshutdown"; // $ NON-NLS-1 $
Private Static final string prop_forced_restart = "osgi. forcedrestart"; // $ NON-NLS-1 $

Public static final string prop_exitcode = "Eclipse. exitcode"; // $ NON-NLS-1 $
Public static final string prop_exitdata = "Eclipse. exitdata"; // $ NON-NLS-1 $
Public static final string prop_console_log = "Eclipse. consolelog"; // $ NON-NLS-1 $
Public static final string prop_ignoreapp = "Eclipse. ignoreapp"; // $ NON-NLS-1 $
Public static final string prop_refresh_bundles = "Eclipse. refreshbundles"; // $ NON-NLS-1 $
Private Static final string prop_allow_apprelaunch = "Eclipse. allowapprelaunch"; // $ NON-NLS-1 $
Private Static final string prop_application_launchdefault = "Eclipse. application. launchdefault"; // $ NON-NLS-1 $

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.