You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by ch...@apache.org on 2003/11/19 12:30:51 UTC
cvs commit: incubator-geronimo/modules/remoting/src/java/org/apache/geronimo/remoting/router InterceptorRegistryRouter.java
chirino 2003/11/19 03:30:51
Modified: modules/remoting/src/java/org/apache/geronimo/remoting/router
InterceptorRegistryRouter.java
Log:
Fixing the tests in the test suite.
Revision Changes Path
1.2 +5 -3 incubator-geronimo/modules/remoting/src/java/org/apache/geronimo/remoting/router/InterceptorRegistryRouter.java
Index: InterceptorRegistryRouter.java
===================================================================
RCS file: /home/cvs/incubator-geronimo/modules/remoting/src/java/org/apache/geronimo/remoting/router/InterceptorRegistryRouter.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- InterceptorRegistryRouter.java 16 Nov 2003 05:27:27 -0000 1.1
+++ InterceptorRegistryRouter.java 19 Nov 2003 11:30:51 -0000 1.2
@@ -93,7 +93,8 @@
* @see org.apache.geronimo.remoting.router.AbstractInterceptorRouter#doStart()
*/
public void doStart() {
- subsystemRouter.addRoute("/Remoting", this);
+ if(subsystemRouter!=null)
+ subsystemRouter.addRoute("/Remoting", this);
super.doStart();
}
@@ -102,7 +103,8 @@
*/
public void doStop() {
super.doStop();
- subsystemRouter.removeRoute("/Remoting");
+ if(subsystemRouter!=null)
+ subsystemRouter.removeRoute("/Remoting");
}