org.picocontainer.extras
Interface Swappable
- public interface Swappable
Interface implemented by all proxy instances created by
{@link ImplementationHidingComponentAdapter).
- Version:
- $Revision: 1.2 $
- Author:
- Aslak Hellesøy
Method Summary |
Object |
__hotSwap(Object newSubject)
Swaps the subject behind the proxy with a new instance. |
__hotSwap
public Object __hotSwap(Object newSubject)
- Swaps the subject behind the proxy with a new instance.
(The underscores in the method name are to reduce the risk of method name clashes
with other interfaces).
- Parameters:
newSubject
- the new subject the proxy will delegate to.
- Returns:
- the old subject
Copyright © 2003-2004 Codehaus. All Rights Reserved.