org.apache.qpid.management.common.mbeans
Interface ManagedBroker


public interface ManagedBroker

The ManagedBroker is the management interface to expose management features of the Broker.

Version:
0.1

Field Summary
static String TYPE
           
 
Method Summary
 void createNewExchange(String name, String type, boolean durable)
          Creates a new Exchange.
 void createNewQueue(String queueName, String owner, boolean durable)
          Create a new Queue on the Broker server.
 void deleteQueue(String queueName)
          Unregisters the Queue bindings, removes the subscriptions and unregisters from the managed objects.
 String[] getExchangeTypes()
          Returns an array of the exchange types available for creation.
 List<String> retrieveQueueAttributeNames()
          Returns a list containing the names of the attributes available for the Queue mbeans.
 List<List<Object>> retrieveQueueAttributeValues(String[] attributes)
          Returns a List of Object Lists containing the requested attribute values (in the same sequence requested) for each queue in the virtualhost.
 void unregisterExchange(String exchange)
          unregisters all the channels, queuebindings etc and unregisters this exchange from managed objects.
 

Field Detail

TYPE

static final String TYPE
See Also:
Constant Field Values
Method Detail

getExchangeTypes

String[] getExchangeTypes()
                          throws IOException
Returns an array of the exchange types available for creation.

Throws:
IOException
Since:
Qpid JMX API 1.3

retrieveQueueAttributeNames

List<String> retrieveQueueAttributeNames()
                                         throws IOException
Returns a list containing the names of the attributes available for the Queue mbeans.

Throws:
IOException
Since:
Qpid JMX API 1.3

retrieveQueueAttributeValues

List<List<Object>> retrieveQueueAttributeValues(String[] attributes)
                                                throws IOException
Returns a List of Object Lists containing the requested attribute values (in the same sequence requested) for each queue in the virtualhost. If a particular attribute cant be found or raises an mbean/reflection exception whilst being gathered its value is substituted with the String "-".

Throws:
IOException
Since:
Qpid JMX API 1.3

createNewExchange

void createNewExchange(String name,
                       String type,
                       boolean durable)
                       throws IOException,
                              JMException,
                              MBeanException
Creates a new Exchange.

Parameters:
name -
type -
durable -
Throws:
IOException
JMException
MBeanException

unregisterExchange

void unregisterExchange(String exchange)
                        throws IOException,
                               JMException,
                               MBeanException
unregisters all the channels, queuebindings etc and unregisters this exchange from managed objects.

Parameters:
exchange -
Throws:
IOException
JMException
MBeanException

createNewQueue

void createNewQueue(String queueName,
                    String owner,
                    boolean durable)
                    throws IOException,
                           JMException,
                           MBeanException
Create a new Queue on the Broker server.

Parameters:
queueName -
durable -
owner -
Throws:
IOException
JMException
MBeanException

deleteQueue

void deleteQueue(String queueName)
                 throws IOException,
                        JMException,
                        MBeanException
Unregisters the Queue bindings, removes the subscriptions and unregisters from the managed objects.

Parameters:
queueName -
Throws:
IOException
JMException
MBeanException


Licensed to the Apache Software Foundation