Return-Path: Delivered-To: apmail-qpid-commits-archive@www.apache.org Received: (qmail 66723 invoked from network); 7 May 2010 15:14:00 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 7 May 2010 15:14:00 -0000 Received: (qmail 71918 invoked by uid 500); 7 May 2010 15:14:00 -0000 Delivered-To: apmail-qpid-commits-archive@qpid.apache.org Received: (qmail 71904 invoked by uid 500); 7 May 2010 15:14:00 -0000 Mailing-List: contact commits-help@qpid.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@qpid.apache.org Delivered-To: mailing list commits@qpid.apache.org Received: (qmail 71897 invoked by uid 99); 7 May 2010 15:14:00 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 May 2010 15:14:00 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 May 2010 15:13:58 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 92BAF23888BD; Fri, 7 May 2010 15:13:07 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit 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 -0000 To: commits@qpid.apache.org From: ritchiem@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20100507151307.92BAF23888BD@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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