Package org.rhq.enterprise.server.core.plugin

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


    protected PluginDeploymentScannerMBean preparePluginScannerService() {
        if (null != pluginScannerService) {
            return pluginScannerService;
        }

        PluginDeploymentScanner scanner = new PluginDeploymentScanner();
        String pluginDirPath = getTempDir() + "/plugins";
        scanner.setAgentPluginDir(pluginDirPath); // we don't want to scan for these
        scanner.setServerPluginDir("ignore no plugins here"); // we don't want to scan for these
        scanner.setUserPluginDir("ignore no plugins here"); // we don't want to scan for these
        scanner.setScanPeriod("9999999"); // we want to manually scan - don't allow for auto-scan to happen

        return preparePluginScannerService(scanner);
    }
View Full Code Here


        bundleManager = LookupUtil.getBundleManager();
        createAntBundleType();

        prepareCustomServerService(new CoreServer(), CoreServerMBean.OBJECT_NAME);
        prepareCustomServerService(new PluginDeploymentScanner(), PluginDeploymentScannerMBean.OBJECT_NAME);

        prepareCustomServerPluginService(new ServerPluginService());

        agentServiceContainer = prepareForTestAgents();
        agentServiceContainer.bundleService = new TestAgentClient(null, agentServiceContainer);
View Full Code Here

TOP

Related Classes of org.rhq.enterprise.server.core.plugin.PluginDeploymentScanner

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.