Package org.apache.qpid.management.ui

Examples of org.apache.qpid.management.ui.ServerRegistry


        if(queueName == null)
        {
            return;
        }
       
        ServerRegistry serverRegistry = ApplicationRegistry.getServerRegistry(_mbean);
        ManagedBean selectedMBean = serverRegistry.getQueue(queueName, _mbean.getVirtualHostName());

        if(selectedMBean == null)
        {
            ViewUtility.popupErrorMessage("Error", "Unable to retrieve the selected MBean to open it");
            return;
View Full Code Here


            {
                showMBean(_mbean);
            }
            else if(NODE_TYPE_SERVER.equals(mbeanType))
            {
                ServerRegistry serverReg = ApplicationRegistry.getServerRegistry(_server);
               
                //check the server is connected
                if(serverReg != null)
                {
                    //post a message if the server supports a newer API version.
                    ApiVersion serverAPI = serverReg.getManagementApiVersion();
                    int supportedMajor = ApplicationRegistry.SUPPORTED_QPID_JMX_API_MAJOR_VERSION;
                    int supportedMinor = ApplicationRegistry.SUPPORTED_QPID_JMX_API_MINOR_VERSION;
                   
                    if(serverAPI.greaterThan(supportedMajor, supportedMinor))
                    {
View Full Code Here

    }
   
    @Override
    public void refresh(ManagedBean mbean)
    {
        ServerRegistry serverRegistry = ApplicationRegistry.getServerRegistry(MBeanView.getServer());
        _queues = serverRegistry.getQueues(MBeanView.getVirtualHost());
        _exchanges = serverRegistry.getExchanges(MBeanView.getVirtualHost());

        _queueTableViewer.setInput(_queues);
        _exchangeTableViewer.setInput(_exchanges);
       
        layout();
View Full Code Here

TOP

Related Classes of org.apache.qpid.management.ui.ServerRegistry

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.