Author: mcconnell
Date: Wed Jun  9 06:50:34 2004
New Revision: 20947

Added:
   avalon/trunk/runtime/meta/test/teste/
   avalon/trunk/runtime/meta/test/teste/build.properties   (contents, props 
changed)
   avalon/trunk/runtime/meta/test/teste/build.xml   (contents, props changed)
   avalon/trunk/runtime/meta/test/teste/src/
   avalon/trunk/runtime/meta/test/teste/src/main/
   avalon/trunk/runtime/meta/test/teste/src/main/org/
   avalon/trunk/runtime/meta/test/teste/src/main/org/apache/
   avalon/trunk/runtime/meta/test/teste/src/main/org/apache/avalon/
   avalon/trunk/runtime/meta/test/teste/src/main/org/apache/avalon/test/
   avalon/trunk/runtime/meta/test/teste/src/main/org/apache/avalon/test/teste/
   
avalon/trunk/runtime/meta/test/teste/src/main/org/apache/avalon/test/teste/E.java
   (contents, props changed)
   
avalon/trunk/runtime/meta/test/teste/src/main/org/apache/avalon/test/teste/TestE.java
   (contents, props changed)
Log:
add teste

Added: avalon/trunk/runtime/meta/test/teste/build.properties
==============================================================================
--- (empty file)
+++ avalon/trunk/runtime/meta/test/teste/build.properties       Wed Jun  9 
06:50:34 2004
@@ -0,0 +1,2 @@
+project.name = avalon-test-teste
+project.home = ../../../../central/system

Added: avalon/trunk/runtime/meta/test/teste/build.xml
==============================================================================
--- (empty file)
+++ avalon/trunk/runtime/meta/test/teste/build.xml      Wed Jun  9 06:50:34 2004
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+
+<project name="avalon-test-teste" default="dist" basedir="." 
+    xmlns:x="antlib:org.apache.avalon.tools"
+    xmlns:m="plugin:avalon/meta/avalon-meta-tools">
+
+  <property file="build.properties"/>
+  <import file="${project.home}/build/standard.xml"/>
+
+  <target name="build" depends="standard.build">
+    <m:meta destDir="${basedir}/target/classes">
+      <fileset dir="${basedir}/src/main">
+        <include name="**/*.java"/>
+      </fileset>
+    </m:meta>
+  </target>
+
+</project>

Added: 
avalon/trunk/runtime/meta/test/teste/src/main/org/apache/avalon/test/teste/E.java
==============================================================================
--- (empty file)
+++ 
avalon/trunk/runtime/meta/test/teste/src/main/org/apache/avalon/test/teste/E.java
   Wed Jun  9 06:50:34 2004
@@ -0,0 +1,22 @@
+/* 
+ * Copyright 2004 Apache Software Foundation
+ * Licensed  under the  Apache License,  Version 2.0  (the "License");
+ * you may not use  this file  except in  compliance with the License.
+ * You may obtain a copy of the License at 
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed  under the  License is distributed on an "AS IS" BASIS,
+ * WITHOUT  WARRANTIES OR CONDITIONS  OF ANY KIND, either  express  or
+ * implied.
+ * 
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.avalon.test.teste;
+
+public interface E
+{
+}

Added: 
avalon/trunk/runtime/meta/test/teste/src/main/org/apache/avalon/test/teste/TestE.java
==============================================================================
--- (empty file)
+++ 
avalon/trunk/runtime/meta/test/teste/src/main/org/apache/avalon/test/teste/TestE.java
       Wed Jun  9 06:50:34 2004
@@ -0,0 +1,50 @@
+/* 
+ * Copyright 2004 Apache Software Foundation
+ * Licensed  under the  Apache License,  Version 2.0  (the "License");
+ * you may not use  this file  except in  compliance with the License.
+ * You may obtain a copy of the License at 
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed  under the  License is distributed on an "AS IS" BASIS,
+ * WITHOUT  WARRANTIES OR CONDITIONS  OF ANY KIND, either  express  or
+ * implied.
+ * 
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.avalon.test.teste;
+
+import org.apache.avalon.framework.activity.Initializable;
+import org.apache.avalon.framework.logger.AbstractLogEnabled;
+import org.apache.avalon.framework.logger.Logger;
+import org.apache.avalon.framework.service.Serviceable;
+import org.apache.avalon.framework.service.ServiceManager;
+import org.apache.avalon.framework.service.ServiceException;
+
+/**
+ * @avalon.component name="component-e" lifestyle="singleton"
+ * @avalon.service type="org.apache.avalon.test.teste.E"
+ */
+public class TestE extends AbstractLogEnabled
+  implements Initializable, E
+{
+    public void initialize() throws Exception
+    {
+        getLogger().info( "hello from E" );
+    }
+
+   /**
+    * @avalon.dependency key= "a" type="org.apache.avalon.test.testa.A"
+    */
+    public void service( ServiceManager manager ) throws ServiceException
+    {
+        getLogger().info( "service stage" );
+        Logger logger = getLogger().getChildLogger( "service" );
+        logger.info( "lookup A" );
+        manager.lookup( "a" );
+        logger.info( "ok" );
+    }
+}

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to