notify-dpml AT lists.ibiblio.org
Subject: DPML Notify
List archive
svn commit: r2984 - in development/planet/http: . demo/src/main/net/dpml/http
- From: mcconnell AT dpml.net
- To: notify-dpml AT lists.ibiblio.org
- Subject: svn commit: r2984 - in development/planet/http: . demo/src/main/net/dpml/http
- Date: Wed, 06 Jul 2005 17:59:10 -0400
Author: mcconnell AT dpml.net
Date: Wed Jul 6 17:59:09 2005
New Revision: 2984
Modified:
development/planet/http/demo/src/main/net/dpml/http/Demo.java
development/planet/http/index.xml
Log:
o Updating the http demo component to reflect the automatic startup handling.
Modified: development/planet/http/demo/src/main/net/dpml/http/Demo.java
==============================================================================
--- development/planet/http/demo/src/main/net/dpml/http/Demo.java
(original)
+++ development/planet/http/demo/src/main/net/dpml/http/Demo.java Wed
Jul 6 17:59:09 2005
@@ -41,12 +41,6 @@
private final Logger m_logger;
private final Parts m_parts;
- private Object m_context;
- private Object m_server;
- private Object m_listener;
- private Object m_handler;
- private Object m_nf;
-
public Demo( Logger logger, Parts parts )
{
m_logger = logger;
@@ -56,19 +50,11 @@
public void start() throws Exception
{
m_logger.info( "Starting" );
- m_server = m_parts.getServerComponent().resolve( false );
- m_context = m_parts.getContextComponent().resolve( false );
- m_listener = m_parts.getSocketListenerComponent().resolve( false );
- m_handler = m_parts.getResourceHandlerComponent().resolve( false );
- m_nf = m_parts.getNotFoundHandlerComponent().resolve( false );
- m_logger.info( "Started" );
}
public void stop() throws Exception
{
m_logger.info( "Stopping" );
- m_parts.getServerComponent().terminate();
- m_logger.info( "Stopped" );
}
}
Modified: development/planet/http/index.xml
==============================================================================
--- development/planet/http/index.xml (original)
+++ development/planet/http/index.xml Wed Jul 6 17:59:09 2005
@@ -81,6 +81,7 @@
<status>SNAPSHOT</status>
<types>
<type>part</type>
+ <type>part.link</type>
<type>jar</type>
</types>
</info>
- svn commit: r2984 - in development/planet/http: . demo/src/main/net/dpml/http, mcconnell, 07/06/2005
Archive powered by MHonArc 2.6.24.