Package org.rhq.plugins.platform.win

Examples of org.rhq.plugins.platform.win.Win32EventLogDelegate


    public void start(ResourceContext context) {
        super.start(context);
        Configuration pluginConfiguration = context.getPluginConfiguration();
        if (pluginConfiguration.getSimple("eventTrackingEnabled").getBooleanValue()) {
            try {
                eventLogDelegate = new Win32EventLogDelegate(pluginConfiguration);
                eventLogDelegate.open();
                context.getEventContext().registerEventPoller(eventLogDelegate, 60);
            } catch (Throwable t) {
                log.error("Failed to start the event logger. Will not be able to capture Windows events", t);
                if (eventLogDelegate != null) {
View Full Code Here

TOP

Related Classes of org.rhq.plugins.platform.win.Win32EventLogDelegate

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.