Package javax.management

Examples of javax.management.MBeanException


     */
    public List<String> getStatisticIds() throws MBeanException {
        try {
            return getStatisticComponent().getStatisticIds();
        } catch (EZBComponentException e) {
            throw new MBeanException(new Exception(e.getClass().getSimpleName() + " : " + e.getMessage()));
        }
    }
View Full Code Here


     */
    public String getStatisticMode(final String statisticId) throws MBeanException {
        try {
            return getStatisticComponent().getStatisticMode(statisticId).toString();
        } catch (EZBComponentException e) {
            throw new MBeanException(new Exception(e.getClass().getSimpleName() + " : " + e.getMessage()));
        }
    }
View Full Code Here

     */
    public void setStatisticMode(final String statisticId, final String statisticMode) throws MBeanException {
        try {
            getStatisticComponent().setStatisticMode(statisticId, STATISTIC_MODE.valueOf(statisticMode));
        } catch (EZBComponentException e) {
            throw new MBeanException(new Exception(e.getClass().getSimpleName() + " : " + e.getMessage()));
        }
    }
View Full Code Here

     */
    public boolean getStatisticState(final String statisticId) throws MBeanException {
        try {
            return getStatisticComponent().getStatisticState(statisticId);
        } catch (EZBComponentException e) {
            throw new MBeanException(new Exception(e.getClass().getSimpleName() + " : " + e.getMessage()));
        }
    }
View Full Code Here

     */
    public void setStatisticState(final String statisticId, final boolean statisticStateValue) throws MBeanException {
        try {
            getStatisticComponent().setStatisticState(statisticId, statisticStateValue);
        } catch (EZBComponentException e) {
            throw new MBeanException(new Exception(e.getClass().getSimpleName() + " : " + e.getMessage()));
        }
    }
View Full Code Here

     */
    public void resetStatistic(final String statisticId) throws MBeanException {
        try {
            getStatisticComponent().resetStatistic(statisticId);
        } catch (EZBComponentException e) {
            throw new MBeanException(new Exception(e.getClass().getSimpleName() + " : " + e.getMessage()));
        }
    }
View Full Code Here

     */
    public String getStatisticName(final String statisticId) throws MBeanException {
        try {
            return getStatisticComponent().getStatisticName(statisticId);
        } catch (EZBComponentException e) {
            throw new MBeanException(new Exception(e.getClass().getSimpleName() + " : " + e.getMessage()));
        }
    }
View Full Code Here

     */
    public String getStatisticDescription(final String statisticId) throws MBeanException {
        try {
            return getStatisticComponent().getStatisticDescription(statisticId);
        } catch (EZBComponentException e) {
            throw new MBeanException(new Exception(e.getClass().getSimpleName() + " : " + e.getMessage()));
        }
    }
View Full Code Here

     */
    public String getStatisticValue(final String statisticId) throws MBeanException {
        try {
            return getStatisticComponent().getStatisticValue(statisticId);
        } catch (EZBComponentException e) {
            throw new MBeanException(new Exception(e.getClass().getSimpleName() + " : " + e.getMessage()));
        }
    }
View Full Code Here

     */
    public long getStatisticStartTime(final String statisticId) throws MBeanException {
        try {
            return getStatisticComponent().getStatisticStartTime(statisticId);
        } catch (EZBComponentException e) {
            throw new MBeanException(new Exception(e.getClass().getSimpleName() + " : " + e.getMessage()));
        }
    }
View Full Code Here

TOP

Related Classes of javax.management.MBeanException

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.