org.picocontainer.gems.behaviors
Class HotSwapping

java.lang.Object
  extended by org.picocontainer.behaviors.AbstractBehaviorFactory
      extended by org.picocontainer.gems.behaviors.HotSwapping
All Implemented Interfaces:
Serializable, BehaviorFactory, ComponentFactory

public class HotSwapping
extends AbstractBehaviorFactory

Hides implementation.

Author:
Paul Hammant, Aslak Hellesøy
See Also:
HotSwappable, Serialized Form

Constructor Summary
HotSwapping()
           
 
Method Summary
<T> ComponentAdapter<T>
addComponentAdapter(ComponentMonitor componentMonitor, LifecycleStrategy lifecycleStrategy, Properties componentProperties, ComponentAdapter<T> adapter)
           
<T> ComponentAdapter<T>
createComponentAdapter(ComponentMonitor componentMonitor, LifecycleStrategy lifecycleStrategy, Properties componentProperties, Object componentKey, Class<T> componentImplementation, Parameter... parameters)
           
 
Methods inherited from class org.picocontainer.behaviors.AbstractBehaviorFactory
accept, arePropertiesPresent, getAndRemovePropertiesIfPresentByKey, mergeProperties, removePropertiesIfPresent, verify, wrap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HotSwapping

public HotSwapping()
Method Detail

createComponentAdapter

public <T> ComponentAdapter<T> createComponentAdapter(ComponentMonitor componentMonitor,
                                                      LifecycleStrategy lifecycleStrategy,
                                                      Properties componentProperties,
                                                      Object componentKey,
                                                      Class<T> componentImplementation,
                                                      Parameter... parameters)
                                           throws PicoCompositionException
Specified by:
createComponentAdapter in interface ComponentFactory
Overrides:
createComponentAdapter in class AbstractBehaviorFactory
Throws:
PicoCompositionException

addComponentAdapter

public <T> ComponentAdapter<T> addComponentAdapter(ComponentMonitor componentMonitor,
                                                   LifecycleStrategy lifecycleStrategy,
                                                   Properties componentProperties,
                                                   ComponentAdapter<T> adapter)
Specified by:
addComponentAdapter in interface BehaviorFactory
Overrides:
addComponentAdapter in class AbstractBehaviorFactory


Copyright © 2003-2010 Codehaus. All Rights Reserved.