Package org.rhq.enterprise.server.resource

Examples of org.rhq.enterprise.server.resource.ResourceManagerRemote


    public PageList<Resource> findResources(String string) {
        if (remoteClient == null) {
            throw new IllegalStateException("The findResources() method requires a connection to the RHQ server.");
        }
       
        ResourceManagerRemote resourceManager = remoteClient.getProxy(ResourceManagerRemote.class);

        ResourceCriteria criteria = new ResourceCriteria();
        criteria.addFilterName(string);
        criteria.clearPaging();//disable paging as the code assumes all the results will be returned.

        return resourceManager.findResourcesByCriteria(getSubjectFromEngine(), criteria);
    }
View Full Code Here

TOP

Related Classes of org.rhq.enterprise.server.resource.ResourceManagerRemote

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.