directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nik...@apache.org
Subject svn commit: r371278 - /directory/sandbox/trustin/mina-spi/spring/src/main/java/org/apache/mina/integration/spring/Binding.java
Date Sun, 22 Jan 2006 12:33:05 GMT
Author: niklas
Date: Sun Jan 22 04:32:59 2006
New Revision: 371278

URL: http://svn.apache.org/viewcvs?rev=371278&view=rev
Log:
Fixed error in Spring XML example

Modified:
    directory/sandbox/trustin/mina-spi/spring/src/main/java/org/apache/mina/integration/spring/Binding.java

Modified: directory/sandbox/trustin/mina-spi/spring/src/main/java/org/apache/mina/integration/spring/Binding.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/trustin/mina-spi/spring/src/main/java/org/apache/mina/integration/spring/Binding.java?rev=371278&r1=371277&r2=371278&view=diff
==============================================================================
--- directory/sandbox/trustin/mina-spi/spring/src/main/java/org/apache/mina/integration/spring/Binding.java
(original)
+++ directory/sandbox/trustin/mina-spi/spring/src/main/java/org/apache/mina/integration/spring/Binding.java
Sun Jan 22 04:32:59 2006
@@ -54,7 +54,7 @@
  *       ...
  *   </bean>
  *   
- *   <!-- Create a thread pool filter. The threads will be shared among all the bindings
-->
+ *   <!-- Create a thread pool filter. The threads will be shared among the POP3 bindings
-->
  *   <bean id="threadPoolFilter" class="org.apache.mina.filter.ThreadPoolFilter">
  *     <!-- Threads will be named IoWorker-1, IoWorker-2, etc -->
  *     <constructor-arg value="IoWorker"/>
@@ -71,7 +71,7 @@
  *   <bean id="sslBinding" class="org.apache.mina.integration.spring.Binding">
  *     <!-- Bind to port 995 on all interfaces using the NIO provider 
  *             and the socket transport type -->
- *     <property name="address" value="nio:socket:*:995"/>
+ *     <property name="address" value="nio:socket:*:995?threadModel=manual"/>
  *     <property name="handler" ref="pop3Handler"/>
  *     <property name="filters">
  *       <list>
@@ -84,7 +84,7 @@
  *   <bean id="nonSslBinding" class="org.apache.mina.integration.spring.Binding">
  *     <!-- Bind to port 110 on all interfaces using the NIO provider 
  *             and the socket transport type -->
- *     <property name="address" value="nio:socket:*:110"/>
+ *     <property name="address" value="nio:socket:*:110?threadModel=manual"/>
  *     <property name="handler" ref="pop3Handler"/>
  *     <property name="filters">
  *       <list>
@@ -95,14 +95,9 @@
  *   
  *   <bean id="adminBinding" class="org.apache.mina.integration.spring.Binding">
  *     <!-- Bind to port 60987 on the loopback interface using the NIO 
- *             provider and the socket transport type -->
- *     <property name="address" value="nio:socket:127.0.0.1:60987"/>
+ *             provider and the socket transport type. Use a single thread. -->
+ *     <property name="address" value="nio:socket:127.0.0.1:60987?threadModel=single"/>
  *     <property name="handler" ref="adminHandler"/>
- *     <property name="filters">
- *       <list>
- *         <ref local="threadPoolFilter"/>
- *       </list>
- *     </property>
  *   </bean>
  * </pre>
  * </p>



Mime
View raw message