qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ritch...@apache.org
Subject svn commit: r942111 - /qpid/trunk/qpid/java/broker/src/main/java/org/apache/qpid/server/plugins/Activator.java
Date Fri, 07 May 2010 15:13:07 GMT
Author: ritchiem
Date: Fri May  7 15:13:07 2010
New Revision: 942111

URL: http://svn.apache.org/viewvc?rev=942111&view=rev
Log:
Corrected Broker Activator stop code

Modified:
    qpid/trunk/qpid/java/broker/src/main/java/org/apache/qpid/server/plugins/Activator.java

Modified: qpid/trunk/qpid/java/broker/src/main/java/org/apache/qpid/server/plugins/Activator.java
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/java/broker/src/main/java/org/apache/qpid/server/plugins/Activator.java?rev=942111&r1=942110&r2=942111&view=diff
==============================================================================
--- qpid/trunk/qpid/java/broker/src/main/java/org/apache/qpid/server/plugins/Activator.java
(original)
+++ qpid/trunk/qpid/java/broker/src/main/java/org/apache/qpid/server/plugins/Activator.java
Fri May  7 15:13:07 2010
@@ -32,13 +32,11 @@ public class Activator implements Bundle
     public void start(BundleContext ctx) throws Exception
     {
         _context = ctx;
-         ctx.registerService(ServerConfiguration.class.getName(), ApplicationRegistry.getInstance().getConfiguration(),
null);
-         
+         ctx.registerService(ServerConfiguration.class.getName(), ApplicationRegistry.getInstance().getConfiguration(),
null);         
     }
 
     public void stop(BundleContext ctx) throws Exception
-    {
-        start(null);
+    {        
     }
 
     public BundleContext getContext()



---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:commits-subscribe@qpid.apache.org


Mime
View raw message