CVS: plexus-container-new/src/java/org/apache/plexus/embed Embedder.java,1.3,1.4
[email protected] Sun, 25 May 2003 12:22:25 -0500
| Newsgroups | gmane.comp.java.plexus.devel |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/plexus/plexus-container-new/src/java/org/apache/plexus/embed
In directory eng.werken.com:/tmp/cvs-serv718
Modified Files:
Embedder.java
Log Message:
o removed my little doco about cli usage as it makes more sense to use pete's method because you can take your
cli args and pass them to your component which obviously makes sense. We
could use system properties but that wouldn't be as obvious.
Index: Embedder.java
===================================================================
RCS file: /cvsroot/plexus/plexus-container-new/src/java/org/apache/plexus/embed/Embedder.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- Embedder.java 25 May 2003 16:54:00 -0000 1.3
+++ Embedder.java 25 May 2003 17:22:22 -0000 1.4
@@ -24,19 +24,6 @@
*
* embedder.stop();
* </pre>
- * <p/>
- * If you want to use the <tt>Embedder</tt> for CLI applications
- * then you would use the following:
- * <br/>
- * <pre>
- * Embedder embedder = new Embedder();
- * embedder.setConfiguration("/plexus.xml");
- * embedder.addContextValue("plexus.home", ".");
- * embedder.run();
- * </pre>
- * <p/>
- * In this case it is assumed that in your plexus configuration that
- * you have specified a component to load-on-start.
* <br/>
*
* @author <a href="mailto:[email protected]">Jason van Zyl</a>