Package com.sun.enterprise.ee.admin.hadbmgmt

Examples of com.sun.enterprise.ee.admin.hadbmgmt.HADBResourceManager


                clusterName);
            info = new HADBInfo(null, null, null, null,
                clusterName, getLogger(), getConfigContext(), getMBeanServer());
            info.setHostsRequired(false);
            info.setup();
            HADBResourceManager hrm = new HADBResourceManager(info);
            return hrm.getAutoHadbFromConfig() && hrm.isAvailabilityEnabled();
        }
        catch(HADBSetupException hse)
        {
            throw hse;
        }
View Full Code Here


            getLogger().log(Level.INFO, "HADBConfigMBean.setAutoHadb() called with cluster = " +
                clusterName + ", new autohadb = " + newAutoHadb);
            info = new HADBInfo(null, null, null, null,
                clusterName, getLogger(), getConfigContext(), getMBeanServer());
            info.setup();
            HADBResourceManager hrm = new HADBResourceManager(info);
            hrm.setAutoHadb(newAutoHadb);
        }
        catch(HADBSetupException hse)
        {
            throw hse;
        }
View Full Code Here

        try
        {
            info = new HADBInfo(null, null, null, null,
                clusterName, getLogger(), getConfigContext(), getMBeanServer());
            info.setup();
            HADBResourceManager hrm = new HADBResourceManager(info);
            String hosts = hrm.getHostsFromConfig();
            getLogger().log(Level.INFO, "HADBConfigMBean.getHosts() called with cluster = " +
                clusterName + " Returned: " + hosts);
            return hosts;
        }
        catch(HADBSetupException hse)
View Full Code Here

        try
        {
            info = new HADBInfo(null, null, null, null,
                clusterName, getLogger(), getConfigContext(), getMBeanServer());
            info.setup();
            HADBResourceManager hrm = new HADBResourceManager(info);
            String port = hrm.getAgentPortFromConfig();
            getLogger().log(Level.INFO, "HADBConfigMBean.getAgentPort() called with cluster = " +
                clusterName + " Returned: " + port);
            return port;
        }
        catch(HADBSetupException hse)
View Full Code Here

            // This method (isHA) is called ALL THE TIME from the GUI for clusters that have no
            // HA set up.  This next call will prevent an Exception from getting thrown.
            info.setHostsRequired(false);
           
            info.setup();
            HADBResourceManager hrm = new HADBResourceManager(info);
            boolean isha = hrm.isHA();
            getLogger().log(Level.INFO, "HADBConfigMBean.isHA() called with cluster = " +
                clusterName + " Returned: " + isha);
            return new Object[] { isha };
        }
        catch(Exception e)
View Full Code Here

TOP

Related Classes of com.sun.enterprise.ee.admin.hadbmgmt.HADBResourceManager

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.