|
![]() |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.picocontainer.defaults.DecoratingComponentAdapter
org.picocontainer.gems.adapters.HotSwappingComponentAdapter
This component adapter makes it possible to hide the implementation of a real subject (behind a proxy). If the key of the
component is of type Class
and that class represents an interface, the proxy will only implement the interface
represented by that Class. Otherwise (if the key is something else), the proxy will implement all the interfaces of the
underlying subject. In any case, the proxy will also implement Swappable
, making
it possible to swap out the underlying subject at runtime.
CachingComponentAdapter
around this one.
Constructor Summary | |
HotSwappingComponentAdapter(org.picocontainer.ComponentAdapter delegate)
|
|
HotSwappingComponentAdapter(org.picocontainer.ComponentAdapter delegate,
ProxyFactory proxyFactory)
|
Method Summary | |
Object |
getComponentInstance(org.picocontainer.PicoContainer container)
|
Methods inherited from class org.picocontainer.defaults.DecoratingComponentAdapter |
accept, changeMonitor, currentMonitor, dispose, dispose, getComponentImplementation, getComponentKey, getDelegate, hasLifecycle, hasLifecycle, start, start, stop, stop, toString, verify |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public HotSwappingComponentAdapter(org.picocontainer.ComponentAdapter delegate, ProxyFactory proxyFactory)
public HotSwappingComponentAdapter(org.picocontainer.ComponentAdapter delegate)
Method Detail |
public Object getComponentInstance(org.picocontainer.PicoContainer container)
|
![]() |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |