[CVS nano] Lifecycle is cruft. Implement Startable and Disposable if you really need both.

Aslak Hellesoy <rinkrank-yCVjj/[email protected]> Wed, 28 Jan 2004 17:19:19 -0600
Newsgroups gmane.comp.java.nanocontainer.cvs
Message-ID <[email protected]>
Commit in nano/src/test/org/nanocontainer on MAIN

Xxx.java +3 -3 1.3 -> 1.4

Lifecycle is cruft. Implement Startable and Disposable if you really need both.

----------

nano /src /test /org /nanocontainer

Xxx.java 1.3 -> 1.4

diff -u -r1.3 -r1.4
--- Xxx.java 28 Jan 2004 23:14:59 -0000 1.3
+++ Xxx.java 28 Jan 2004 23:19:19 -0000 1.4
@@ -8,14 +8,14 @@

*****************************************************************************/
package org.nanocontainer;

-import org.picocontainer.Lifecycle;
-import org.picocontainer.Lifecycle;

import junit.framework.Assert;

+import org.picocontainer.Disposable;
+import org.picocontainer.Startable;

/**
* An abstract component and three dependancies used for testing.
*/

-public abstract class Xxx implements Lifecycle {

+public abstract class Xxx implements Startable, Disposable {

public static String componentRecorder = "";