Date: 2004-02-28T16:10:32
Editor: AaronFarr <[EMAIL PROTECTED]>
Wiki: Apache Avalon Wiki
Page: SimpleComponentExample
URL: http://wiki.apache.org/avalon/SimpleComponentExample
this will be nice once finished. give me tonight -farra
Change Log:
------------------------------------------------------------------------------
@@ -1,11 +1,43 @@
= Writing a Simple Avalon Component =
+In this example we'll look at a very simple Avalon component.
+
== The Service Interface ==
+{{{
+package org.apache.avalon.examples.simple;
+
+public interface Simple {
+
+ public String getName();
+
+}
+}}}
+
== A Simple Implementation ==
+{{{
+package org.apache.avalon.examples.simple.impl;
+
+import org.apache.avalon.examples.simple.Simple;
+
+public class SimpleHelloImpl implements Simple
+{
+
+ public String getName()
+ {
+ return "Hello World!";
+ }
+
+}
+}}}
+
== Adding Lifecycles ==
-== Next Step ==
+== Adding A Dependency ==
+
+== Adding Meta-Data ==
+
+== Adding Configuration ==
-''Adding container specific information (Configuration, meta-data, deployment)'''
+== Container Deployment ==
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]