Package org.ow2.easybeans.component.api

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


     * @param url The file to download.
     * @throws EZBComponentException If an error occurs while downloading,
     *         compiling, instanciating, or registering the factory.
     */
    public synchronized void importStatisticFactory(final URL url) throws EZBComponentException {
        throw new EZBComponentException("Function not yet implemented");
    }
View Full Code Here


    public synchronized STATISTIC_FACTORY_MODE getStatisticFactoryMode(final String statisticFactoryId)
            throws EZBComponentException {
        ManagedStatisticFactory managedStatisticFactory = this.managedStatisticFactories.get(statisticFactoryId);

        if (managedStatisticFactory == null) {
            throw new EZBComponentException("Cannot find statisticFactoryId " + statisticFactoryId);
        }

        return managedStatisticFactory.getManagedStatisticFactoryMode();
    }
View Full Code Here

    public synchronized void setStatisticFactoryMode(final String statisticFactoryId,
            final STATISTIC_FACTORY_MODE statisticFactoryMode) throws EZBComponentException {
        ManagedStatisticFactory managedStatisticFactory = this.managedStatisticFactories.get(statisticFactoryId);

        if (managedStatisticFactory == null) {
            throw new EZBComponentException("Cannot find statisticFactoryId " + statisticFactoryId);
        }

        managedStatisticFactory.setManagedStatisticFactoryMode(statisticFactoryMode);
    }
View Full Code Here

     */
    public synchronized boolean getStatisticFactoryState(final String statisticFactoryId) throws EZBComponentException {
        ManagedStatisticFactory managedStatisticFactory = this.managedStatisticFactories.get(statisticFactoryId);

        if (managedStatisticFactory == null) {
            throw new EZBComponentException("Cannot find statisticFactoryId " + statisticFactoryId);
        }

        return managedStatisticFactory.getManagedStatisticFactoryState();
    }
View Full Code Here

    public synchronized void setStatisticFactoryState(final String statisticFactoryId, final boolean statisticFactoryState)
            throws EZBComponentException {
        ManagedStatisticFactory managedStatisticFactory = this.managedStatisticFactories.get(statisticFactoryId);

        if (managedStatisticFactory == null) {
            throw new EZBComponentException("Cannot find statisticFactoryId " + statisticFactoryId);
        }

        managedStatisticFactory.setManagedStatisticFactoryState(statisticFactoryState);
    }
View Full Code Here

    public synchronized STATISTIC_PROVIDER_MODE getStatisticProviderMode(final String statisticProviderId)
            throws EZBComponentException {
        ManagedStatisticProvider managedStatisticProvider = this.managedStatisticProviders.get(statisticProviderId);

        if (managedStatisticProvider == null) {
            throw new EZBComponentException("Cannot find statisticProviderId " + statisticProviderId);
        }

        return managedStatisticProvider.getManagedStatisticProviderMode();
    }
View Full Code Here

    public synchronized void setStatisticProviderMode(final String statisticProviderId,
            final STATISTIC_PROVIDER_MODE statisticProviderMode) throws EZBComponentException {
        ManagedStatisticProvider managedStatisticProvider = this.managedStatisticProviders.get(statisticProviderId);

        if (managedStatisticProvider == null) {
            throw new EZBComponentException("Cannot find statisticProviderId " + statisticProviderId);
        }

        managedStatisticProvider.setManagedStatisticProviderMode(statisticProviderMode);
    }
View Full Code Here

     */
    public synchronized boolean getStatisticProviderState(final String statisticProviderId) throws EZBComponentException {
        ManagedStatisticProvider managedStatisticProvider = this.managedStatisticProviders.get(statisticProviderId);

        if (managedStatisticProvider == null) {
            throw new EZBComponentException("Cannot find statisticProviderId " + statisticProviderId);
        }

        return managedStatisticProvider.getManagedStatisticProviderState();
    }
View Full Code Here

    public synchronized void setStatisticProviderState(final String statisticProviderId, final boolean statisticProviderState)
            throws EZBComponentException {
        ManagedStatisticProvider managedStatisticProvider = this.managedStatisticProviders.get(statisticProviderId);

        if (managedStatisticProvider == null) {
            throw new EZBComponentException("Cannot find statisticProviderId " + statisticProviderId);
        }

        managedStatisticProvider.setManagedStatisticProviderState(statisticProviderState);
    }
View Full Code Here

     */
    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

TOP

Related Classes of org.ow2.easybeans.component.api.EZBComponentException

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.