    001    /*****************************************************************************
    002     * Copyright (c) PicoContainer Organization. All rights reserved.            *
    003     * ------------------------------------------------------------------------- *
    004     * The software in this package is published under the terms of the BSD      *
    005     * style license a copy of which has been included with this distribution in *
    006     * the LICENSE.txt file.                                                     *
    007     *                                                                           *
    008     *****************************************************************************/
    009    package org.picocontainer.containers;
    010
    011    import org.picocontainer.PicoContainer;
    012
    013    /**
    014     * container backed by system properties.
    015     * @author k.pribluda
    016     */
    017    @SuppressWarnings("serial")
    018    public class SystemPropertiesPicoContainer extends PropertiesPicoContainer {
    019
    020            public SystemPropertiesPicoContainer() {
    021                    this(null);
    022            }
    023            public SystemPropertiesPicoContainer(PicoContainer parent) {
    024                    super(System.getProperties(),parent);
    025            }
    026    }