[CVS nano] Readded hotswapping on IHCA. Can be done by casting the proxy to (Swappable) and call __hotSwap

Aslak Hellesoy <rinkrank-yCVjj/[email protected]> Fri, 16 Jan 2004 09:40:24 -0600
Newsgroups gmane.comp.java.nanocontainer.cvs
Message-ID <[email protected]>
Commit in nano/src/test/org/nanocontainer on SINGLE_PARENT_REFACTORING

BespokeXmlFrontEnd.java +3 -2 1.8 -> 1.8.2.1

Readded hotswapping on IHCA. Can be done by casting the proxy to (Swappable) and call __hotSwap

----------

nano /src /test /org /nanocontainer

BespokeXmlFrontEnd.java 1.8 -> 1.8.2.1

diff -u -r1.8 -r1.8.2.1
--- BespokeXmlFrontEnd.java 22 Nov 2003 17:44:08 -0000 1.8
+++ BespokeXmlFrontEnd.java 16 Jan 2004 15:40:24 -0000 1.8.2.1
@@ -28,8 +28,9 @@

}

public PicoContainer createPicoContainer(Element rootElement, MutablePicoContainer mutablePicoContainer) throws IOException, SAXException, ClassNotFoundException, PicoCompositionException {

- used = true;
- return xmlFrontEnd.createPicoContainer(rootElement, mutablePicoContainer);

+// used = true;
+// return xmlFrontEnd.createPicoContainer(rootElement, mutablePicoContainer);
+ return null;

}

public PicoContainer createPicoContainer(Element rootElement) throws IOException, SAXException, ClassNotFoundException, PicoCompositionException {