avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hamm...@apache.org
Subject cvs commit: jakarta-avalon-apps/httpproxy/src/java/org/apache/avalon/httpproxy AbstractHttpProxyServer.java
Date Sun, 12 May 2002 10:42:21 GMT
hammant     02/05/12 03:42:21

  Modified:    httpproxy/src/java/org/apache/avalon/httpproxy
                        AbstractHttpProxyServer.java
  Added:       httpproxy/lib avalon-framework.jar
  Removed:     httpproxy/lib avalon-framework-4.1.2.jar
  Log:
  compose(..) becomes service(..)
  
  Revision  Changes    Path
  1.1                  jakarta-avalon-apps/httpproxy/lib/avalon-framework.jar
  
  	<<Binary file>>
  
  
  1.6       +8 -8      jakarta-avalon-apps/httpproxy/src/java/org/apache/avalon/httpproxy/AbstractHttpProxyServer.java
  
  Index: AbstractHttpProxyServer.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-apps/httpproxy/src/java/org/apache/avalon/httpproxy/AbstractHttpProxyServer.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- AbstractHttpProxyServer.java	20 Apr 2002 12:10:47 -0000	1.5
  +++ AbstractHttpProxyServer.java	12 May 2002 10:42:21 -0000	1.6
  @@ -12,9 +12,9 @@
   import java.net.UnknownHostException;
   import org.apache.avalon.framework.activity.Initializable;
   import org.apache.avalon.framework.activity.Disposable;
  -import org.apache.avalon.framework.component.ComponentException;
  -import org.apache.avalon.framework.component.ComponentManager;
  -import org.apache.avalon.framework.component.Composable;
  +import org.apache.avalon.framework.service.ServiceException;
  +import org.apache.avalon.framework.service.ServiceManager;
  +import org.apache.avalon.framework.service.Serviceable;
   import org.apache.avalon.framework.configuration.Configurable;
   import org.apache.avalon.framework.configuration.Configuration;
   import org.apache.avalon.framework.configuration.ConfigurationException;
  @@ -37,7 +37,7 @@
    */
   public abstract class AbstractHttpProxyServer
       extends AbstractLogEnabled
  -    implements Contextualizable, Composable, Configurable,
  +    implements Contextualizable, Serviceable, Configurable,
       Initializable, Disposable, Block, ConnectionHandlerFactory
   {
       private static final Resources REZ =
  @@ -82,13 +82,13 @@
           m_forwardToAnotherProxy = forward.getValue( "" );
       }
   
  -    public void compose( final ComponentManager componentManager )
  -        throws ComponentException
  +    public void service( final ServiceManager serviceManager )
  +        throws ServiceException
       {
  -        m_socketManager = (SocketManager)componentManager.
  +        m_socketManager = (SocketManager)serviceManager.
               lookup( "org.apache.avalon.cornerstone.services.sockets.SocketManager" );
   
  -        m_connectionManager = (ConnectionManager)componentManager.
  +        m_connectionManager = (ConnectionManager)serviceManager.
               lookup( "org.apache.avalon.cornerstone.services.connection.ConnectionManager"
);
       }
   
  
  
  

--
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