[jboss-cvs] JBossRemoting/src/main/org/jboss/remoting ...
Ron Sigal
ron_sigal at yahoo.com
Tue Jan 16 21:58:20 EST 2007
User: rsigal
Date: 07/01/16 21:58:20
Modified: src/main/org/jboss/remoting ServerInvoker.java
Log:
JBREM-298: Created distinction between client and server socket creation listeners.
Revision Changes Path
1.60 +7 -9 JBossRemoting/src/main/org/jboss/remoting/ServerInvoker.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: ServerInvoker.java
===================================================================
RCS file: /cvsroot/jboss/JBossRemoting/src/main/org/jboss/remoting/ServerInvoker.java,v
retrieving revision 1.59
retrieving revision 1.60
diff -u -b -r1.59 -r1.60
--- ServerInvoker.java 16 Jan 2007 08:11:13 -0000 1.59
+++ ServerInvoker.java 17 Jan 2007 02:58:20 -0000 1.60
@@ -65,7 +65,7 @@
*
* @author <a href="mailto:jhaynie at vocalocity.net">Jeff Haynie</a>
* @author <a href="mailto:tom.elrod at jboss.com">Tom Elrod</a>
- * @version $Revision: 1.59 $
+ * @version $Revision: 1.60 $
*/
public abstract class ServerInvoker extends AbstractInvoker implements ServerInvokerMBean
{
@@ -469,11 +469,13 @@
if(serverSocketFactory == null)
{
- log.debug("Did not find server socket factory configuration as mbean service or classname. Creating default server socket.");
+ log.debug(this + " did not find server socket factory configuration as mbean service " +
+ "or classname. Creating default server socket factory.");
+
serverSocketFactory = getDefaultServerSocketFactory();
}
- log.debug("Created server socket factory: " + serverSocketFactory);
+ log.debug(this + " created server socket factory " + serverSocketFactory);
serverSocketFactory = wrapServerSocketFactory(serverSocketFactory, configuration);
return serverSocketFactory;
@@ -521,7 +523,7 @@
if (config == null)
return ssf;
- Object o = config.get(Remoting.SOCKET_CREATION_LISTENER);
+ Object o = config.get(Remoting.SOCKET_CREATION_SERVER_LISTENER);
if (o != null && o instanceof SocketCreationListener)
return new CreationListenerServerSocketFactory(ssf, (SocketCreationListener) o);
@@ -1455,9 +1457,7 @@
}
/**
- * Gets teh server invoker's transport specific configuration.
- *
- * @return
+ * Gets the server invoker's transport specific configuration.
*/
public Map getConfiguration()
{
@@ -1466,8 +1466,6 @@
/**
* Returns the String for the object name to be used for the invoker.
- *
- * @return
*/
public String getMBeanObjectName()
{
More information about the jboss-cvs-commits
mailing list