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 * Idea by Rachel Davies, Original code by Aslak Hellesoy and Paul Hammant   *
009 *****************************************************************************/
010
011package org.picocontainer.testmodel;
012
013import java.util.List;
014
015/**
016 * @author Steve.Freeman@m3p.co.uk
017 */
018public final class InaccessibleStartComponent {
019    private final List<String> messages;
020
021    public InaccessibleStartComponent(List<String> messages) {
022        this.messages = messages;
023    }
024
025    @SuppressWarnings("unused")
026        private final void start() {
027        messages.add("started");
028    }
029}