/*
 * Copyright 2008-2012 Red Hat, Inc, and individual contributors.
 * 
 * This is free software; you can redistribute it and/or modify it
 * under the terms of the GNU Lesser General Public License as
 * published by the Free Software Foundation; either version 2.1 of
 * the License, or (at your option) any later version.
 * 
 * This software is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
 * Lesser General Public License for more details.
 * 
 * You should have received a copy of the GNU Lesser General Public
 * License along with this software; if not, write to the Free
 * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
 * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
 */

package org.torquebox.messaging;

import javax.jms.Destination;

public interface MessageProcessorGroupMBean {

    void start() throws Exception;

    void stop() throws Exception;

    int getConcurrency();

    String getName();

    Destination getDestination();

    String getDestinationName();

    String getMessageSelector();

    String getStatus();
    
    boolean isDurable();
    
    String getClientID();
}

@@ -884,38 +884,8 @@
 g;%0A%0A
-import javax.jms.Destination;%0A
 %0Apub
@@ -929,318 +929,78 @@
 ean 
-%7B%0A%0A    void start() throws Exception;%0A%0A    void stop() throws Exception;%0A%0A    int getConcurrency();%0A%0A    String getName();%0A%0A    Destination getDestination();%0A%0A    String getDestinationName();%0A%0A    String getMessageSelector();%0A%0A    String getStatus();%0A    %0A    boolean isDurable();%0A    %0A    String getClientID();
+extends org.projectodd.polyglot.messaging.MessageProcessorGroupMBean %7B%0A
 %0A%7D%0A

Move the guts of MessageProcessorGroupMBean up to polyglot.