[jboss-cvs] JBoss Messaging SVN: r6340 - trunk/examples/jms/common/src/org/jboss/jms/example.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Tue Apr 7 08:18:57 EDT 2009


Author: ataylor
Date: 2009-04-07 08:18:56 -0400 (Tue, 07 Apr 2009)
New Revision: 6340

Modified:
   trunk/examples/jms/common/src/org/jboss/jms/example/JMSExample.java
Log:
killserver method

Modified: trunk/examples/jms/common/src/org/jboss/jms/example/JMSExample.java
===================================================================
--- trunk/examples/jms/common/src/org/jboss/jms/example/JMSExample.java	2009-04-07 12:16:10 UTC (rev 6339)
+++ trunk/examples/jms/common/src/org/jboss/jms/example/JMSExample.java	2009-04-07 12:18:56 UTC (rev 6340)
@@ -97,6 +97,10 @@
       reportResultAndExit();
    }
 
+   protected void killServer(int id)
+   {
+      servers[id].destroy();
+   }
    protected InitialContext getContext(int serverId) throws Exception
    {
       String jndiFilename = "server" + serverId + "/client-jndi.properties";




More information about the jboss-cvs-commits mailing list