Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Copyright (c) 2008, 2010 VMware Inc. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at Contributors: VMware Inc. - initial contribution /
package org.eclipse.virgo.nano.config.internal;
Implementation of PropertiesSource that exposes the KernelConfiguration as java.util.Properties.

Ideally the properties exposed from instances of this object should not be overridden by properties from another source.

Concurrent Semantics

    static final String PROPERTY_WORK_DIRECTORY = "";
    static final String PROPERTY_HOME_DIRECTORY = "";
    static final String PROPERTY_DOMAIN = "domain";
    static final String KERNEL_CONFIGURATION_PID = "org.eclipse.virgo.kernel";
    static final String PROPERTY_KERNEL_STARTUP_WAIT_LIMIT = "org.eclipse.virgo.kernel.startup.wait.limit";
    private final KernelConfiguration kernelConfiguration;
    public KernelConfigurationPropertiesSource(KernelConfiguration kernelConfiguration) {
        this. = kernelConfiguration;

        return Collections.singletonMap(createProperties());
    private Properties createProperties() {
        Properties properties = new Properties();
        return properties;
New to GrepCode? Check out our FAQ X