Examples of EZBComponentException


Examples of org.ow2.easybeans.component.api.EZBComponentException

     */
    public synchronized STATISTIC_MODE getStatisticMode(final String statisticId) throws EZBComponentException {
        ManagedStatistic managedStatistic = this.managedStatistics.get(statisticId);

        if (managedStatistic == null) {
            throw new EZBComponentException("Cannot find statistic " + statisticId);
        }

        return managedStatistic.getManagedStatisticMode();
    }
View Full Code Here

Examples of org.ow2.easybeans.component.api.EZBComponentException

    public synchronized void setStatisticMode(final String statisticId, final STATISTIC_MODE statisticMode)
            throws EZBComponentException {
        ManagedStatistic managedStatistic = this.managedStatistics.get(statisticId);

        if (managedStatistic == null) {
            throw new EZBComponentException("Cannot find statistic " + statisticId);
        }

        managedStatistic.setManagedStatisticMode(statisticMode);
    }
View Full Code Here

Examples of org.ow2.easybeans.component.api.EZBComponentException

     */
    public synchronized boolean getStatisticState(final String statisticId) throws EZBComponentException {
        ManagedStatistic managedStatistic = this.managedStatistics.get(statisticId);

        if (managedStatistic == null) {
            throw new EZBComponentException("Cannot find statistic " + statisticId);
        }

        return managedStatistic.getManagedStatisticState();
    }
View Full Code Here

Examples of org.ow2.easybeans.component.api.EZBComponentException

    public synchronized void setStatisticState(final String statisticId, final boolean statisticStateValue)
            throws EZBComponentException {
        ManagedStatistic managedStatistic = this.managedStatistics.get(statisticId);

        if (managedStatistic == null) {
            throw new EZBComponentException("Cannot find statistic " + statisticId);
        }

        managedStatistic.setManagedStatisticState(statisticStateValue);
    }
View Full Code Here

Examples of org.ow2.easybeans.component.api.EZBComponentException

     */
    public synchronized void resetStatistic(final String statisticId) throws EZBComponentException {
        ManagedStatistic managedStatistic = this.managedStatistics.get(statisticId);

        if (managedStatistic == null) {
            throw new EZBComponentException("Cannot find statistic " + statisticId);
        }

        managedStatistic.getStatistic().reset();
    }
View Full Code Here

Examples of org.ow2.easybeans.component.api.EZBComponentException

     */
    public synchronized String getStatisticName(final String statisticId) throws EZBComponentException {
        ManagedStatistic managedStatistic = this.managedStatistics.get(statisticId);

        if (managedStatistic == null) {
            throw new EZBComponentException("Cannot find statistic " + statisticId);
        }

        return managedStatistic.getStatistic().getName();
    }
View Full Code Here

Examples of org.ow2.easybeans.component.api.EZBComponentException

     */
    public synchronized String getStatisticDescription(final String statisticId) throws EZBComponentException {
        ManagedStatistic managedStatistic = this.managedStatistics.get(statisticId);

        if (managedStatistic == null) {
            throw new EZBComponentException("Cannot find statistic " + statisticId);
        }

        return managedStatistic.getStatistic().getDescription();
    }
View Full Code Here

Examples of org.ow2.easybeans.component.api.EZBComponentException

     */
    public synchronized String getStatisticValue(final String statisticId) throws EZBComponentException {
        ManagedStatistic managedStatistic = this.managedStatistics.get(statisticId);

        if (managedStatistic == null) {
            throw new EZBComponentException("Cannot find statistic " + statisticId);
        }

        return managedStatistic.getStatistic().getValue();
    }
View Full Code Here

Examples of org.ow2.easybeans.component.api.EZBComponentException

     */
    public synchronized long getStatisticStartTime(final String statisticId) throws EZBComponentException {
        ManagedStatistic managedStatistic = this.managedStatistics.get(statisticId);

        if (managedStatistic == null) {
            throw new EZBComponentException("Cannot find statistic " + statisticId);
        }

        return managedStatistic.getStatistic().getStartTime();
    }
View Full Code Here

Examples of org.ow2.easybeans.component.api.EZBComponentException

     */
    public synchronized long getStatisticLastSampleTime(final String statisticId) throws EZBComponentException {
        ManagedStatistic managedStatistic = this.managedStatistics.get(statisticId);

        if (managedStatistic == null) {
            throw new EZBComponentException("Cannot find statistic " + statisticId);
        }

        return managedStatistic.getStatistic().getLastSampleTime();
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.