org.picocontainer.alternatives
Class ImplementationHidingComponentAdapter
java.lang.Object
org.picocontainer.defaults.DecoratingComponentAdapter
org.picocontainer.defaults.ImplementationHidingComponentAdapter
org.picocontainer.alternatives.ImplementationHidingComponentAdapter
- All Implemented Interfaces:
- ComponentAdapter, ComponentMonitorStrategy, LifecycleManager, LifecycleStrategy, Serializable
Deprecated. since 1.2, moved to package org.picocontainer.defaults
- public class ImplementationHidingComponentAdapter
- extends ImplementationHidingComponentAdapter
This component adapter makes it possible to hide the implementation of a real subject (behind a proxy) provided the
key is an interface.
This class exists here, because a) it has no deps on external jars, b) dynamic proxy is
quite easy. The user is prompted to look at picocontainer-gems for alternate and bigger implementations.
- Since:
- 1.1
- Author:
- Aslak Hellesøy, Paul Hammant
- See Also:
for a more feature-rich version of this class.
,
Serialized Form
Methods inherited from class org.picocontainer.defaults.DecoratingComponentAdapter |
accept, changeMonitor, currentMonitor, dispose, dispose, getComponentImplementation, getComponentKey, getDelegate, hasLifecycle, hasLifecycle, start, start, stop, stop, toString, verify |
ImplementationHidingComponentAdapter
public ImplementationHidingComponentAdapter(ComponentAdapter delegate,
boolean strict)
- Deprecated. since 1.2, moved to package
org.picocontainer.defaults
- Creates an ImplementationHidingComponentAdapter with a delegate
- Parameters:
delegate
- the component adapter to which this adapter delegatesstrict
- the scrict mode boolean
Copyright © 2003-2007 Codehaus. All Rights Reserved.