Skip to Content.
Sympa Menu

notify-dpml - r1270 - in trunk/main/planet/http: impl server

notify-dpml AT lists.ibiblio.org

Subject: DPML Notify

List archive

Chronological Thread  
  • From: mcconnell at BerliOS <mcconnell AT mail.berlios.de>
  • To: notify-dpml AT lists.ibiblio.org
  • Subject: r1270 - in trunk/main/planet/http: impl server
  • Date: Mon, 27 Mar 2006 01:37:12 +0200

Author: mcconnell
Date: 2006-03-27 01:37:07 +0200 (Mon, 27 Mar 2006)
New Revision: 1270

Modified:
trunk/main/planet/http/impl/build.xml
trunk/main/planet/http/server/project.xml
Log:
fix lifestyle refs in http package

Modified: trunk/main/planet/http/impl/build.xml
===================================================================
--- trunk/main/planet/http/impl/build.xml 2006-03-26 06:47:30 UTC (rev
1269)
+++ trunk/main/planet/http/impl/build.xml 2006-03-26 23:37:07 UTC (rev
1270)
@@ -99,7 +99,7 @@
</state>
<parts>
<component key="requestLog"
- type="net.dpml.http.NCSARequestLog" collection="hard"
activation="DEMAND">
+ type="net.dpml.http.NCSARequestLog" collection="hard"
lifestyle="singleton" activation="DEMAND">
<context>
<entry key="filename"
value="$${dpml.data}/logs/http/request.log"/>
<entry key="append" value="true"/>
@@ -107,7 +107,7 @@
</context>
</component>
<component key="threadPool"
- type="net.dpml.http.BoundedThreadPool" collection="hard"
activation="DEMAND">
+ type="net.dpml.http.BoundedThreadPool" collection="hard"
lifestyle="singleton" activation="DEMAND">
<context>
<entry key="min" value="10"/>
<entry key="max" value="100"/>

Modified: trunk/main/planet/http/server/project.xml
===================================================================
--- trunk/main/planet/http/server/project.xml 2006-03-26 06:47:30 UTC (rev
1269)
+++ trunk/main/planet/http/server/project.xml 2006-03-26 23:37:07 UTC (rev
1270)
@@ -4,13 +4,13 @@
<types>
<component xmlns="artifact:xsd:dpml/lang/dpml-component#1.0"
class="net.dpml.http.Server"
- lifestyle="singleton"
+ lifestyle="singleton"
alias="true">
<parts>
<!--
Add a select channel connector to 8080.
-->
- <component key="plain" class="net.dpml.http.SelectChannelConnector">
+ <component key="plain" lifestyle="singleton"
class="net.dpml.http.SelectChannelConnector">
<context>
<entry key="port" value="8080"/>
<entry key="maxIdleTime" value="50000"/>
@@ -20,7 +20,7 @@
<!--
Add a SSL connector to 8443.
-->
- <component key="ssl" class="net.dpml.http.SslSocketConnector">
+ <component key="ssl" lifestyle="singleton"
class="net.dpml.http.SslSocketConnector">
<context>
<entry key="port" value="8443"/>
<entry key="maxIdleTime" value="30000"/>
@@ -32,7 +32,7 @@
<!--
Add a user realm.
-->
- <component key="realm" class="net.dpml.http.HashUserRealm">
+ <component key="realm" lifestyle="singleton"
class="net.dpml.http.HashUserRealm">
<context>
<entry key="name" value="Test Realm"/>
<entry key="URI"
value="local:properties:dpml/planet/http/realm"/>
@@ -41,7 +41,7 @@
<!--
Add a web application.
-->
- <component key="webapp" class="net.dpml.http.WebAppContextHandler">
+ <component key="webapp" lifestyle="singleton"
class="net.dpml.http.WebAppContextHandler">
<context>
<entry key="contextPath" value="/"/>
<entry key="war"
value="link:war:dpml/planet/http/dpml-http-app"/>
@@ -51,7 +51,7 @@
Creation of a HTTP server configured to present static content in
the ${dpml.share}/docs directory.
-->
- <component key="context"
class="net.dpml.http.ResourceContextHandler">
+ <component key="context" lifestyle="singleton"
class="net.dpml.http.ResourceContextHandler">
<context>
<entry key="resourceBase" value="${dpml.share}/docs"/>
<entry key="contextPath" value="/docs"/>
@@ -63,7 +63,7 @@
per-component threads - currently limited to classes declared within
the part classloader).
-->
- <component key="servlets"
class="net.dpml.http.ServletContextHandler">
+ <component key="servlets" lifestyle="singleton"
class="net.dpml.http.ServletContextHandler">
<context>
<entry key="resourceBase" value="${dpml.data}"/>
<entry key="contextPath" value="/data"/>




  • r1270 - in trunk/main/planet/http: impl server, mcconnell at BerliOS, 03/26/2006

Archive powered by MHonArc 2.6.24.

Top of Page