[Jboss-cvs] JBossAS SVN: r56276 - trunk/testsuite/src/main/org/jboss/test/util

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Fri Aug 25 14:52:27 EDT 2006


Author: scott.stark at jboss.org
Date: 2006-08-25 14:52:25 -0400 (Fri, 25 Aug 2006)
New Revision: 56276

Modified:
   trunk/testsuite/src/main/org/jboss/test/util/ServiceControllerUtil.java
Log:
Add a removeAService method

Modified: trunk/testsuite/src/main/org/jboss/test/util/ServiceControllerUtil.java
===================================================================
--- trunk/testsuite/src/main/org/jboss/test/util/ServiceControllerUtil.java	2006-08-25 18:28:49 UTC (rev 56275)
+++ trunk/testsuite/src/main/org/jboss/test/util/ServiceControllerUtil.java	2006-08-25 18:52:25 UTC (rev 56276)
@@ -52,9 +52,9 @@
       ServiceContext ctx = scmb.getServiceContext(serviceName);
       return ctx.getStateString();
    }
-   public void createAService(ObjectName serviceOName) throws Exception
+   public void createAService(ObjectName serviceName) throws Exception
    { 
-      scmb.create(serviceOName); 
+      scmb.create(serviceName); 
    }
    
    public void startAService(ObjectName serviceName) throws Exception
@@ -72,6 +72,11 @@
       scmb.destroy(serviceName);
    } 
    
+   public void removeAService(ObjectName serviceName) throws Exception
+   { 
+      scmb.remove(serviceName);
+   } 
+
    public boolean isStarted(ObjectName serviceName)
    {
       ServiceContext sc = scmb.getServiceContext(serviceName);




More information about the jboss-cvs-commits mailing list