directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From trus...@apache.org
Subject svn commit: r371259 - in /directory/sandbox/trustin/mina-spi/spring/src/main/java/org/apache/mina/integration/spring: Binding.java IoFilterMapping.java
Date Sun, 22 Jan 2006 10:35:53 GMT
Author: trustin
Date: Sun Jan 22 02:35:50 2006
New Revision: 371259

URL: http://svn.apache.org/viewcvs?rev=371259&view=rev
Log:
Fixed JavaDoc errors

Modified:
    directory/sandbox/trustin/mina-spi/spring/src/main/java/org/apache/mina/integration/spring/Binding.java
    directory/sandbox/trustin/mina-spi/spring/src/main/java/org/apache/mina/integration/spring/IoFilterMapping.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=371259&r1=371258&r2=371259&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 02:35:50 2006
@@ -19,6 +19,7 @@
 package org.apache.mina.integration.spring;
 
 import org.apache.mina.common.DefaultIoFilterChainBuilder;
+import org.apache.mina.common.IoAddress;
 import org.apache.mina.common.IoFilter;
 import org.apache.mina.common.IoHandler;
 import org.apache.mina.common.IoService;
@@ -28,18 +29,16 @@
 
 /**
  * Defines an address to {@link org.apache.mina.common.IoHandler} binding.
- * This is used when specifying the addresses to accept new connections on when
- * creating {@link org.apache.mina.common.IoAcceptor} objects using one of the
- * {@link org.apache.mina.integration.spring.support.AbstractIoAcceptorFactoryBean}
- * sub-classes.
+ * This is used when specifying the addresses to accept new connections
+ * using {@link IoService}.
  * <p>
  * This class also allows for an optional list of filters to be associated with
- * the address. The {@link org.apache.mina.common.IoAcceptor} will add
- * all these filters to the filter chain of sessions created for incoming
- * connections on the address specified by this binding. This makes it possible
- * to specify different filters depending on the port the client is connecting
- * on (e.g. using an {@link org.apache.mina.filter.SSLFilter} when connecting
- * on port 443 but not on port 80). 
+ * the address. The {@link IoService} will add all these filters to the filter
+ * chain of sessions created for incoming connections on the address specified
+ * by this binding. This makes it possible to specify different filters depending
+ * on the port the client is connecting on
+ * (e.g. using an {@link org.apache.mina.filter.SSLFilter} when connecting on port
+ * 443 but not on port 80). 
  * </p>
  *
  * @author The Apache Directory Project (dev@directory.apache.org)
@@ -124,12 +123,11 @@
 
     /**
      * Sets the address the handler of this object will be bound to.
-     * The format of this address depends on the transport type of the
-     * {@link org.apache.mina.common.IoAcceptor} this binding will be used for.
-     * When creating a {@link org.apache.mina.transport.socket.nio.SocketAcceptor}
-     * using {@link SocketAcceptorFactoryBean} the format looks like
-     * <code>[&lt;interface&gt;:]port</code>, e.g. <code>127.0.0.1:8080</code>.
-     * {@link #getAddress()}
+     * Please refer to {@link IoAddress} documentation for the format of this
+     * address.
+     * When creating an NIO socket binding, the format looks like
+     * <code>nio:socket:[&lt;interface&gt;:]port</code>,
+     * e.g. <code>nio:socket:127.0.0.1:8080</code>, <code>nio:socket:*:8080</code>.
      * 
      * @param address the textual representation of the transport type specific 
      *        address.

Modified: directory/sandbox/trustin/mina-spi/spring/src/main/java/org/apache/mina/integration/spring/IoFilterMapping.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/trustin/mina-spi/spring/src/main/java/org/apache/mina/integration/spring/IoFilterMapping.java?rev=371259&r1=371258&r2=371259&view=diff
==============================================================================
--- directory/sandbox/trustin/mina-spi/spring/src/main/java/org/apache/mina/integration/spring/IoFilterMapping.java
(original)
+++ directory/sandbox/trustin/mina-spi/spring/src/main/java/org/apache/mina/integration/spring/IoFilterMapping.java
Sun Jan 22 02:35:50 2006
@@ -28,9 +28,7 @@
  * <p> 
  * Use this class when you want to configure the
  * filters added to the filter chain of all sessions created from a particular
- * {@link org.apache.mina.common.IoSessionManager} created using one of the
- * {@link org.apache.mina.integration.spring.support.AbstractIoSessionManagerFactoryBean}
- * sub-classes but you don't want the names to be generated automatically.
+ * {@link Binding}.
  * </p>
  * <p>
  * This class can also be used when creating {@link Binding} objects. This lets
@@ -43,7 +41,6 @@
  * 
  * @author The Apache Directory Project (dev@directory.apache.org)
  * @version $Rev$, $Date$
- * @see org.apache.mina.integration.spring.support.AbstractIoSessionManagerFactoryBean
  * @see org.apache.mina.integration.spring.Binding
  */
 public class IoFilterMapping implements InitializingBean



Mime
View raw message