Examples of PluginDeploymentScannerMBean


Examples of org.rhq.enterprise.server.core.plugin.PluginDeploymentScannerMBean

    public void scan() {
        hasPermission();

        try {
            PluginDeploymentScannerMBean scanner = LookupUtil.getPluginDeploymentScanner();
            scanner.scanAndRegister();
            FacesContextUtility.addMessage(FacesMessage.SEVERITY_INFO, "Done scanning for updated plugins.");
        } catch (Exception e) {
            processException("Failed to scan for updated plugins", e);
        }
    }
View Full Code Here

Examples of org.rhq.enterprise.server.core.plugin.PluginDeploymentScannerMBean

            for (Plugin plugin : pluginsToDelete) {
                pluginNames.add(plugin.getDisplayName());
            }

            pluginMgr.deletePlugins(subject, Arrays.asList(getSelectedPluginIds()));
            PluginDeploymentScannerMBean scanner = LookupUtil.getPluginDeploymentScanner();
            scanner.scanAndRegister();
            FacesContextUtility.addMessage(FacesMessage.SEVERITY_INFO, "Deleted plugins: " + pluginNames);
        } catch (Exception e) {
            processException("Failed to delete agent plugins", e);
        }
        return;
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.