avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dona...@apache.org
Subject cvs commit: jakarta-avalon-cornerstone/src/java/org/apache/avalon/cornerstone/services/sockets ServerSocketFactory.java SocketFactory.java SocketManager.java
Date Fri, 12 Jul 2002 00:07:42 GMT
donaldp     2002/07/11 17:07:42

  Modified:    src/java/org/apache/avalon/cornerstone/services/packet
                        PacketHandler.java
               src/java/org/apache/avalon/cornerstone/services/silk
                        Stage.java
               src/java/org/apache/avalon/cornerstone/services/sockets
                        ServerSocketFactory.java SocketFactory.java
                        SocketManager.java
  Log:
  Decouple from framework.component.*
  
  Revision  Changes    Path
  1.4       +0 -2      jakarta-avalon-cornerstone/src/java/org/apache/avalon/cornerstone/services/packet/PacketHandler.java
  
  Index: PacketHandler.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-cornerstone/src/java/org/apache/avalon/cornerstone/services/packet/PacketHandler.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- PacketHandler.java	11 Dec 2001 10:49:20 -0000	1.3
  +++ PacketHandler.java	12 Jul 2002 00:07:42 -0000	1.4
  @@ -10,7 +10,6 @@
   import java.io.IOException;
   import java.net.DatagramPacket;
   import java.net.ProtocolException;
  -import org.apache.avalon.framework.component.Component;
   
   /**
    * This interface is the way in which handlers are created.
  @@ -18,7 +17,6 @@
    * @author <a href="mailto:peter@apache.org">Peter Donald</a>
    */
   public interface PacketHandler
  -    extends Component
   {
       /**
        * Handle a datgram packet.
  
  
  
  1.5       +3 -3      jakarta-avalon-cornerstone/src/java/org/apache/avalon/cornerstone/services/silk/Stage.java
  
  Index: Stage.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-cornerstone/src/java/org/apache/avalon/cornerstone/services/silk/Stage.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- Stage.java	20 Jun 2002 17:08:41 -0000	1.4
  +++ Stage.java	12 Jul 2002 00:07:42 -0000	1.5
  @@ -8,7 +8,6 @@
   package org.apache.avalon.cornerstone.services.silk;
   
   import org.apache.excalibur.event.EventHandler;
  -import org.apache.avalon.framework.component.Component;
   
   /**
    * The Stage is a specialized type of Component.  It allows the system to be set
  @@ -37,7 +36,8 @@
    * @version CVS $Revision$ $Date$
    */
   
  -public interface Stage extends Component, EventHandler
  +public interface Stage
  +    extends EventHandler
   {
       /**
        * Sets the SourceMap for the Stage.  This allows the stage to specify
  
  
  
  1.4       +0 -2      jakarta-avalon-cornerstone/src/java/org/apache/avalon/cornerstone/services/sockets/ServerSocketFactory.java
  
  Index: ServerSocketFactory.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-cornerstone/src/java/org/apache/avalon/cornerstone/services/sockets/ServerSocketFactory.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- ServerSocketFactory.java	11 Dec 2001 10:49:21 -0000	1.3
  +++ ServerSocketFactory.java	12 Jul 2002 00:07:42 -0000	1.4
  @@ -10,7 +10,6 @@
   import java.io.IOException;
   import java.net.InetAddress;
   import java.net.ServerSocket;
  -import org.apache.avalon.framework.component.Component;
   
   /**
    * The interface used to create server sockets.
  @@ -18,7 +17,6 @@
    * @author <a href="mailto:peter@apache.org">Peter Donald</a>
    */
   public interface ServerSocketFactory
  -    extends Component
   {
       /**
        * Creates a socket on specified port.
  
  
  
  1.4       +0 -2      jakarta-avalon-cornerstone/src/java/org/apache/avalon/cornerstone/services/sockets/SocketFactory.java
  
  Index: SocketFactory.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-cornerstone/src/java/org/apache/avalon/cornerstone/services/sockets/SocketFactory.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- SocketFactory.java	11 Dec 2001 10:49:21 -0000	1.3
  +++ SocketFactory.java	12 Jul 2002 00:07:42 -0000	1.4
  @@ -10,7 +10,6 @@
   import java.io.IOException;
   import java.net.InetAddress;
   import java.net.Socket;
  -import org.apache.avalon.framework.component.Component;
   
   /**
    * The interface used to create client sockets.
  @@ -18,7 +17,6 @@
    * @author <a href="mailto:peter@apache.org">Peter Donald</a>
    */
   public interface SocketFactory
  -    extends Component
   {
       /**
        * Create a socket and connect to remote address specified.
  
  
  
  1.8       +4 -6      jakarta-avalon-cornerstone/src/java/org/apache/avalon/cornerstone/services/sockets/SocketManager.java
  
  Index: SocketManager.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-cornerstone/src/java/org/apache/avalon/cornerstone/services/sockets/SocketManager.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- SocketManager.java	16 Mar 2002 00:18:36 -0000	1.7
  +++ SocketManager.java	12 Jul 2002 00:07:42 -0000	1.8
  @@ -7,8 +7,6 @@
    */
   package org.apache.avalon.cornerstone.services.sockets;
   
  -import org.apache.avalon.framework.component.ComponentException;
  -
   /**
    * Service to manager the socket factories.
    *
  @@ -23,18 +21,18 @@
        *
        * @param name the name of server socket factory
        * @return the ServerSocketFactory
  -     * @exception ComponentException if server socket factory is not available
  +     * @exception Exception if server socket factory is not available
        */
       ServerSocketFactory getServerSocketFactory( String name )
  -        throws ComponentException;
  +        throws Exception;
   
       /**
        * Retrieve a client socket factory by name.
        *
        * @param name the name of client socket factory
        * @return the SocketFactory
  -     * @exception ComponentException if socket factory is not available
  +     * @exception Exception if socket factory is not available
        */
       SocketFactory getSocketFactory( String name )
  -        throws ComponentException;
  +        throws Exception;
   }
  
  
  

--
To unsubscribe, e-mail:   <mailto:avalon-cvs-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-cvs-help@jakarta.apache.org>


Mime
View raw message