Examples of discoveredResources()


Examples of org.rhq.core.pluginapi.inventory.ResourceDiscoveryCallback.discoveredResources()

                for (String className : callbackClassNames) {
                    ResourceDiscoveryCallback callback = pluginComponentFactory.getDiscoveryCallback(pluginName,
                        className);
                    try {
                        Thread.currentThread().setContextClassLoader(callback.getClass().getClassLoader());
                        callbackResults = callback.discoveredResources(details);// inline in our calling thread - no time outs or anything; hopefully the plugin plays nice
                        callbackCount++;
                        if (log.isDebugEnabled()) {
                            log.debug("Discovery callback [{" + pluginName + "}" + className + "] returned ["
                                + callbackResults + "] #invocations=" + callbackCount);
                        }
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.