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 java.io.IOException;
012 import java.io.StringReader;
013
014 import org.picocontainer.PicoContainer;
015
016 /**
017 * Compatibility stub. This class was renamed to CommandLinePicoContainer for
018 * PicoContainer version 2.4.
019 *
020 * @author Michael Rimov
021 * @deprecated Use {@link org.picocontainer.containers.CommandLinePicoContainer}
022 * instead.
023 */
024 @Deprecated
025 @SuppressWarnings("serial")
026 public final class CommandLineArgumentsPicoContainer extends
027 CommandLinePicoContainer {
028
029 /**
030 * @param separator
031 * @param arguments
032 */
033 public CommandLineArgumentsPicoContainer(final String separator,
034 final String[] arguments) {
035 super(separator, arguments);
036 }
037
038 /**
039 * @param separator
040 * @param arguments
041 * @param parent
042 */
043 public CommandLineArgumentsPicoContainer(final String separator,
044 final String[] arguments, final PicoContainer parent) {
045 super(separator, arguments, parent);
046 }
047
048 /**
049 * @param separator
050 * @param argumentsProps
051 * @throws IOException
052 */
053 public CommandLineArgumentsPicoContainer(final String separator,
054 final StringReader argumentsProps) throws IOException {
055 super(separator, argumentsProps);
056 }
057
058 /**
059 * @param separator
060 * @param argumentProperties
061 * @param arguments
062 * @throws IOException
063 */
064 public CommandLineArgumentsPicoContainer(final String separator,
065 final StringReader argumentProperties, final String[] arguments)
066 throws IOException {
067 super(separator, argumentProperties, arguments);
068 }
069
070 /**
071 * @param separator
072 * @param argumentProperties
073 * @param arguments
074 * @param parent
075 * @throws IOException
076 */
077 public CommandLineArgumentsPicoContainer(final String separator,
078 final StringReader argumentProperties, final String[] arguments,
079 final PicoContainer parent) throws IOException {
080 super(separator, argumentProperties, arguments, parent);
081 }
082
083 /**
084 * @param arguments
085 */
086 public CommandLineArgumentsPicoContainer(final String[] arguments) {
087 super(arguments);
088 }
089
090 /**
091 * @param arguments
092 * @param parent
093 */
094 public CommandLineArgumentsPicoContainer(final String[] arguments,
095 final PicoContainer parent) {
096 super(arguments, parent);
097 }
098 }