Examples of EZBDepMonitorComponent


Examples of org.ow2.easybeans.component.itf.EZBDepMonitorComponent

        this.dispatcher.dispatch(new EventLifeCycleStarted(this.j2eeManagedObjectId));

        // It is started
        this.started = true;

        EZBDepMonitorComponent depMonitorComponent = getComponent(EZBDepMonitorComponent.class);
        if (depMonitorComponent != null) {
            try {
                depMonitorComponent.enable();
            } catch (EZBComponentException e) {
                logger.error("Cannot enable callback on depmonitor component", e);
            }
        }
View Full Code Here

Examples of org.ow2.easybeans.component.itf.EZBDepMonitorComponent

        } else {
            ((CarolComponent) rc).setKeepRunning(true);
        }

        // Disable DepMonitor if it is launched.
        EZBDepMonitorComponent depMonitorComponent = this.embedded.getComponent(EZBDepMonitorComponent.class);
        if (depMonitorComponent != null) {
            try {
                depMonitorComponent.stop();
            } catch (EZBComponentException e) {
                throw new EmbeddedException("Can not stop the Depmonitor component", e);
            }
        }
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.