You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by ak...@apache.org on 2003/12/07 19:28:22 UTC

svn commit: rev 1382 - in incubator/directory/ldap/trunk/eve/frontend: event/spi listener/impl listener/impl/conf listener/impl/src/java/org/apache/eve/listener listener/spi

Author: akarasulu
Date: Sun Dec  7 10:28:21 2003
New Revision: 1382

Added:
   incubator/directory/ldap/trunk/eve/frontend/event/spi/project.xml
   incubator/directory/ldap/trunk/eve/frontend/listener/impl/conf/
   incubator/directory/ldap/trunk/eve/frontend/listener/impl/conf/block.xml
   incubator/directory/ldap/trunk/eve/frontend/listener/impl/conf/config.xml
   incubator/directory/ldap/trunk/eve/frontend/listener/impl/conf/debug.xml
   incubator/directory/ldap/trunk/eve/frontend/listener/impl/maven.xml
   incubator/directory/ldap/trunk/eve/frontend/listener/impl/project.properties
   incubator/directory/ldap/trunk/eve/frontend/listener/impl/project.xml
   incubator/directory/ldap/trunk/eve/frontend/listener/spi/project.xml
Modified:
   incubator/directory/ldap/trunk/eve/frontend/listener/impl/   (props changed)
   incubator/directory/ldap/trunk/eve/frontend/listener/impl/src/java/org/apache/eve/listener/MerlinListenerManager.java
   incubator/directory/ldap/trunk/eve/frontend/listener/spi/   (props changed)
Log:
Added more maven build scripts and merlin block configurations for 
merlin:simulate goal.


Added: incubator/directory/ldap/trunk/eve/frontend/event/spi/project.xml
==============================================================================
--- (empty file)
+++ incubator/directory/ldap/trunk/eve/frontend/event/spi/project.xml	Sun Dec  7 10:28:21 2003
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<project>
+    <extend>${basedir}/../../../project.xml</extend>
+    <groupId>directory</groupId>
+    <id>eve-frontend-event-spi</id>
+  
+    <name>Eve Frontend Event SPI</name>
+    <package>org.apache.eve.event</package>
+    <currentVersion>SNAPSHOT</currentVersion>
+    <inceptionYear>2003</inceptionYear>
+  	
+    <shortDescription>Event SPI used by Eve's frontend</shortDescription>
+
+    <description>
+	Event notification service interfaces used to implement
+	event an event router within the server.
+    </description>
+  	
+    <dependencies>
+        <dependency>
+            <groupId>avalon-framework</groupId>
+            <artifactId>avalon-framework-api</artifactId>
+            <version>4.1.5</version>
+            <url>http://avalon.apache.org/framework</url>
+        </dependency>
+
+        <dependency>
+            <groupId>directory</groupId>
+            <artifactId>eve-frontend-common-api</artifactId>
+            <version>SNAPSHOT</version>
+            <url>http://directory.apache.org</url>
+        </dependency>
+
+        <dependency>
+            <groupId>junit</groupId>
+            <artifactId>junit</artifactId>
+            <version>3.8.1</version>
+            <url>http://junit.org</url>
+        </dependency>
+    </dependencies>
+</project>
+

Added: incubator/directory/ldap/trunk/eve/frontend/listener/impl/conf/block.xml
==============================================================================
--- (empty file)
+++ incubator/directory/ldap/trunk/eve/frontend/listener/impl/conf/block.xml	Sun Dec  7 10:28:21 2003
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+
+<container name="server">
+
+  <classloader>
+    <classpath>
+      <repository>
+        <resource id="avalon-framework:avalon-framework-api" version="4.1.5"/>
+        <resource id="directory:eve-frontend-common-api" version="SNAPSHOT"/>
+        <resource id="directory:eve-frontend-event-spi" version="SNAPSHOT"/>
+        <resource id="directory:eve-frontend-event-impl" version="SNAPSHOT"/>
+        <resource id="directory:eve-frontend-listener-spi" version="SNAPSHOT"/>
+      </repository>
+    </classpath>
+  </classloader>
+
+  <component
+    name="event-router" 
+    class="org.apache.eve.event.MerlinEventRouter"/>
+  <component
+    name="listener-manager" 
+    class="org.apache.eve.listener.MerlinListenerManager"/>
+</container>

Added: incubator/directory/ldap/trunk/eve/frontend/listener/impl/conf/config.xml
==============================================================================
--- (empty file)
+++ incubator/directory/ldap/trunk/eve/frontend/listener/impl/conf/config.xml	Sun Dec  7 10:28:21 2003
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+
+<targets>
+  <target path="/server/listener-manager">
+    <categories priority="DEBUG"/>
+  </target>
+</targets>

Added: incubator/directory/ldap/trunk/eve/frontend/listener/impl/conf/debug.xml
==============================================================================
--- (empty file)
+++ incubator/directory/ldap/trunk/eve/frontend/listener/impl/conf/debug.xml	Sun Dec  7 10:28:21 2003
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+
+<kernel>
+
+  <!-- logging system parameters -->
+  <logging target="default" priority="DEBUG" name="kernel">
+  </logging>
+
+</kernel>
+

Added: incubator/directory/ldap/trunk/eve/frontend/listener/impl/maven.xml
==============================================================================
--- (empty file)
+++ incubator/directory/ldap/trunk/eve/frontend/listener/impl/maven.xml	Sun Dec  7 10:28:21 2003
@@ -0,0 +1,38 @@
+<project default="java:compile"
+    xmlns:j="jelly:core"
+    xmlns:u="jelly:util"
+    xmlns:ant="jelly:ant"
+    xmlns:maven="jelly:maven"
+    xmlns:m="maven"
+    xmlns:deploy="deploy">
+    
+    <preGoal name="site">
+        <attainGoal name="docbook:transform"/>
+    </preGoal>
+
+    <postGoal name="site">
+        <attainGoal name="server:copy-images"/>
+    </postGoal>
+
+    <goal name="server:copy-images">
+        <copy toDir="target/docs/images">
+            <fileSet dir="${basedir}/src/images">
+                <include name="*.gif"/>
+            </fileSet>
+        </copy>
+    </goal>
+    
+    <goal name="cleanall">
+    	<attainGoal name="clean"/>
+    	<delete dir="home"/>
+    </goal>
+    
+    <postGoal name="java:compile">
+    	<attainGoal name="avalon:meta"/>
+    </postGoal>
+    
+    <postGoal name="aspectj:compile">
+    	<attainGoal name="avalon:meta"/>
+    </postGoal>
+    
+</project>

Added: incubator/directory/ldap/trunk/eve/frontend/listener/impl/project.properties
==============================================================================
--- (empty file)
+++ incubator/directory/ldap/trunk/eve/frontend/listener/impl/project.properties	Sun Dec  7 10:28:21 2003
@@ -0,0 +1,3 @@
+maven.xdoc.date=left
+maven.xdoc.version=${pom.currentVersion}
+merlin.debug=true

Added: incubator/directory/ldap/trunk/eve/frontend/listener/impl/project.xml
==============================================================================
--- (empty file)
+++ incubator/directory/ldap/trunk/eve/frontend/listener/impl/project.xml	Sun Dec  7 10:28:21 2003
@@ -0,0 +1,67 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<project>
+    <extend>${basedir}/../../../project.xml</extend>
+    <groupId>directory</groupId>
+    <id>eve-frontend-listener-impl</id>
+  
+    <name>Eve's Frontend Listener Implementation</name>
+    <package>org.apache.eve.listener</package>
+    <currentVersion>SNAPSHOT</currentVersion>
+    <inceptionYear>2003</inceptionYear>
+  	
+    <shortDescription>
+	Eve's Frontend Listener Implementation
+    </shortDescription>
+
+    <description>
+        Eve's frontend listener manager binds server sockets as server
+        listeners to ports dynamically at configuration time and at runtime.
+        The listener implementation uses non-blocking IO to detect incomming
+        connections as well as managing the binds and unbinds of server sockets.
+    </description>
+  	
+    <dependencies>
+        <dependency>
+            <groupId>avalon-framework</groupId>
+            <artifactId>avalon-framework-api</artifactId>
+            <version>4.1.5</version>
+            <url>http://avalon.apache.org/framework</url>
+        </dependency>
+
+        <dependency>
+            <groupId>directory</groupId>
+            <artifactId>eve-frontend-common-api</artifactId>
+            <version>SNAPSHOT</version>
+            <url>http://directory.apache.org</url>
+        </dependency>
+
+        <dependency>
+            <groupId>directory</groupId>
+            <artifactId>eve-frontend-event-spi</artifactId>
+            <version>SNAPSHOT</version>
+            <url>http://directory.apache.org</url>
+        </dependency>
+
+        <dependency>
+            <groupId>directory</groupId>
+            <artifactId>eve-frontend-event-impl</artifactId>
+            <version>SNAPSHOT</version>
+            <url>http://directory.apache.org</url>
+        </dependency>
+
+        <dependency>
+            <groupId>directory</groupId>
+            <artifactId>eve-frontend-listener-spi</artifactId>
+            <version>SNAPSHOT</version>
+            <url>http://directory.apache.org</url>
+        </dependency>
+
+        <dependency>
+            <groupId>junit</groupId>
+            <artifactId>junit</artifactId>
+            <version>3.8.1</version>
+            <url>http://junit.org</url>
+        </dependency>
+    </dependencies>
+</project>
+

Modified: incubator/directory/ldap/trunk/eve/frontend/listener/impl/src/java/org/apache/eve/listener/MerlinListenerManager.java
==============================================================================
--- incubator/directory/ldap/trunk/eve/frontend/listener/impl/src/java/org/apache/eve/listener/MerlinListenerManager.java	(original)
+++ incubator/directory/ldap/trunk/eve/frontend/listener/impl/src/java/org/apache/eve/listener/MerlinListenerManager.java	Sun Dec  7 10:28:21 2003
@@ -68,6 +68,9 @@
  * A listener manager that uses non-blocking NIO based constructs to detect
  * client connections on server socket listeners.
  * 
+ * @avalon.component name="listener-manager" lifestyle="singleton"
+ * @avalon.service type="org.apache.eve.listener.ListenerManager" version="1.0"
+ * 
  * @author <a href="mailto:aok123@bellsouth.net">Alex Karasulu</a>
  * @author $Author$
  * @version $Revision$
@@ -159,7 +162,7 @@
     
     
     /**
-     * @avalon.dependency type="org.apache.eve.EventRouter"
+     * @avalon.dependency type="org.apache.eve.event.EventRouter"
      *         key="event-router" version="1.0" 
      * @see org.apache.avalon.framework.service.Serviceable#service(
      * org.apache.avalon.framework.service.ServiceManager)

Added: incubator/directory/ldap/trunk/eve/frontend/listener/spi/project.xml
==============================================================================
--- (empty file)
+++ incubator/directory/ldap/trunk/eve/frontend/listener/spi/project.xml	Sun Dec  7 10:28:21 2003
@@ -0,0 +1,46 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<project>
+    <extend>${basedir}/../../../project.xml</extend>
+    <groupId>directory</groupId>
+    <id>eve-frontend-listener-spi</id>
+  
+    <name>Eve Frontend Listener SPI</name>
+    <package>org.apache.eve.event</package>
+    <currentVersion>SNAPSHOT</currentVersion>
+    <inceptionYear>2003</inceptionYear>
+  	
+    <shortDescription>
+	Socket listener SPI used by Eve's frontend
+    </shortDescription>
+
+    <description>
+	Eve's Listener manager interface is responsible for adding and
+	removing listeners that bind to ports on server interfaces to
+	accept incoming client connections.  The interface exposes methods
+	to dynamically bind and unbind these server sockets.
+    </description>
+  	
+    <dependencies>
+        <dependency>
+            <groupId>avalon-framework</groupId>
+            <artifactId>avalon-framework-api</artifactId>
+            <version>4.1.5</version>
+            <url>http://avalon.apache.org/framework</url>
+        </dependency>
+
+	<dependency>
+            <groupId>directory</groupId>
+            <artifactId>eve-frontend-common-api</artifactId>
+            <version>SNAPSHOT</version>
+            <url>http://directory.apache.org/eve/frontend/common/api</url>
+        </dependency>
+
+        <dependency>
+            <groupId>junit</groupId>
+            <artifactId>junit</artifactId>
+            <version>3.8.1</version>
+            <url>http://junit.org</url>
+        </dependency>
+    </dependencies>
+</project>
+