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 *****************************************************************************/
010package org.picocontainer;
011
012import java.util.Properties;
013
014/**
015 * Extends ComponentFactory to provide factory methods for Behaviors
016 * 
017 * @author Paul Hammant
018 * @author Mauro Talevi
019 */
020public interface BehaviorFactory extends ComponentFactory {
021
022    ComponentFactory wrap(ComponentFactory delegate);
023
024    <T> ComponentAdapter<T> addComponentAdapter(ComponentMonitor componentMonitor, LifecycleStrategy lifecycleStrategy,
025            Properties componentProperties, ComponentAdapter<T> adapter);
026
027}