01: /*****************************************************************************
02: * Copyright (C) PicoContainer Organization. All rights reserved. *
03: * ------------------------------------------------------------------------- *
04: * The software in this package is published under the terms of the BSD *
05: * style license a copy of which has been included with this distribution in *
06: * the LICENSE.txt file. *
07: * *
08: * Original code by *
09: *****************************************************************************/package org.picocontainer;
10:
11: import java.util.Properties;
12:
13: /**
14: * Extends ComponentFactory to provide factory methods for Behaviors
15: *
16: * @author Paul Hammant
17: * @author Mauro Talevi
18: */
19: public interface BehaviorFactory extends ComponentFactory {
20:
21: ComponentFactory wrap(ComponentFactory delegate);
22:
23: <T> ComponentAdapter<T> addComponentAdapter(
24: ComponentMonitor componentMonitor,
25: LifecycleStrategy lifecycleStrategy,
26: Properties componentProperties, ComponentAdapter<T> adapter);
27:
28: }
|