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     * Original code by                                                          *
009     *****************************************************************************/
010    package org.picocontainer.lifecycle;
011    
012    import org.picocontainer.LifecycleStrategy;
013    
014    import java.io.Serializable;
015    
016    public class NullLifecycleStrategy implements LifecycleStrategy, Serializable {
017    
018        public void start(Object component) {
019        }
020    
021        public void stop(Object component) {
022        }
023    
024        public void dispose(Object component) {
025        }
026    
027        public boolean hasLifecycle(Class type) {
028            return false;
029        }
030    }