org.picocontainer.extras
Class ImplementationHidingComponentAdapter
java.lang.Object
org.picocontainer.extras.DecoratingComponentAdapter
org.picocontainer.extras.ImplementationHidingComponentAdapter
- All Implemented Interfaces:
- ComponentAdapter, Serializable
- public class ImplementationHidingComponentAdapter
- extends DecoratingComponentAdapter
This component adapter makes it possible to hide the implementation
of a real subject (behind a proxy). The proxy will also implement
Swappable
, making it possible to swap out the underlying
subject at runtime.
- Version:
- $Revision: 1.8 $
- Author:
- Aslak Hellesøy, Paul Hammant
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ImplementationHidingComponentAdapter
public ImplementationHidingComponentAdapter(ComponentAdapter delegate)
getComponentInstance
public Object getComponentInstance()
throws PicoInitializationException,
PicoIntrospectionException,
AssignabilityRegistrationException,
NotConcreteRegistrationException
- Description copied from interface:
ComponentAdapter
- Gets the component instance. This method will usually create
a new instance for each call (an exception is
CachingComponentAdapter
).
- Specified by:
getComponentInstance
in interface ComponentAdapter
- Overrides:
getComponentInstance
in class DecoratingComponentAdapter
- Throws:
PicoInitializationException
PicoIntrospectionException
AssignabilityRegistrationException
NotConcreteRegistrationException
Copyright © 2003-2004 Codehaus. All Rights Reserved.