public class Assimilating extends AbstractBehaviorFactory
Assimilated instances for all
ComponentAdapter instances created by the delegate. This will assimilate every component for a specific type.
(TODO Since assimilating is taking types that are not the result type, does this mean that we cannot use generics)| Constructor and Description |
|---|
Assimilating(Class<?> type)
Construct an Assimilating.
|
Assimilating(Class<?> type,
ProxyFactory proxyFactory)
Construct an Assimilating using a special
ProxyFactory. |
| Modifier and Type | Method and Description |
|---|---|
ComponentAdapter |
addComponentAdapter(ComponentMonitor componentMonitor,
LifecycleStrategy lifecycleStrategy,
Properties componentProperties,
ComponentAdapter adapter) |
ComponentAdapter |
createComponentAdapter(ComponentMonitor componentMonitor,
LifecycleStrategy lifecycleStrategy,
Properties componentProperties,
Object componentKey,
Class componentImplementation,
Parameter... parameters)
Create a
Assimilated. |
accept, arePropertiesPresent, getAndRemovePropertiesIfPresentByKey, mergeProperties, removePropertiesIfPresent, verify, wrappublic Assimilating(Class<?> type)
StandardProxyFactory using the JDK
implementation.type - The assimilated type.public Assimilating(Class<?> type, ProxyFactory proxyFactory)
ProxyFactory.type - The assimilated type.proxyFactory - The proxy factory to use.public ComponentAdapter createComponentAdapter(ComponentMonitor componentMonitor, LifecycleStrategy lifecycleStrategy, Properties componentProperties, Object componentKey, Class componentImplementation, Parameter... parameters) throws PicoCompositionException
Assimilated. This adapter will wrap the returned ComponentAdapter of the
deleated ComponentFactory.createComponentAdapter in interface ComponentFactorycreateComponentAdapter in class AbstractBehaviorFactoryPicoCompositionExceptionComponentFactory.createComponentAdapter(ComponentMonitor,LifecycleStrategy,Properties,Object,Class,Parameter...)public ComponentAdapter addComponentAdapter(ComponentMonitor componentMonitor, LifecycleStrategy lifecycleStrategy, Properties componentProperties, ComponentAdapter adapter)
addComponentAdapter in interface BehaviorFactoryaddComponentAdapter in class AbstractBehaviorFactoryCopyright © 2003-2014 Codehaus. All Rights Reserved.