Package org.rhq.core.domain.plugin

Examples of org.rhq.core.domain.plugin.ServerPluginControlResults


            ControlResults results;
            results = serverPluginManager.invokeServerPluginControl(getSessionSubject(), serverPluginKey, controlName,
                params);

            // ControlDefinition is a server-side only class - we need to convert it to our domain DTO
            ServerPluginControlResults spcr = new ServerPluginControlResults();
            for (Property prop : results.getComplexResults().getProperties()) {
                spcr.getComplexResults().put(prop.deepCopy(true));
            }
            if (!results.isSuccess()) {
                spcr.setError(results.getError());
            }
            return spcr;
        } catch (Throwable t) {
            throw getExceptionToThrowToClient(t);
        }
View Full Code Here

TOP

Related Classes of org.rhq.core.domain.plugin.ServerPluginControlResults

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.