org.rhq.enterprise.server.discovery
Class DiscoveryServerServiceImpl
java.lang.Object
org.rhq.enterprise.server.discovery.DiscoveryServerServiceImpl
- All Implemented Interfaces:
- DiscoveryServerService
public class DiscoveryServerServiceImpl
- extends Object
- implements DiscoveryServerService
This is the service that receives inventory data from agents. As agents discover resources, they report back to the
server what they have found via this service. // TODO GH: Should this be renamed inventory server service?
- Author:
- John Mazzitelli
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DiscoveryServerServiceImpl
public DiscoveryServerServiceImpl()
mergeInventoryReport
public org.rhq.core.domain.discovery.ResourceSyncInfo mergeInventoryReport(InventoryReport report)
throws InvalidInventoryReportException,
StaleTypeException
- Specified by:
mergeInventoryReport in interface DiscoveryServerService
- Throws:
InvalidInventoryReportException
StaleTypeException- See Also:
DiscoveryServerService.mergeInventoryReport(InventoryReport)
mergeAvailabilityReport
public boolean mergeAvailabilityReport(org.rhq.core.domain.discovery.AvailabilityReport availabilityReport)
- Specified by:
mergeAvailabilityReport in interface DiscoveryServerService
getResources
public Set<org.rhq.core.domain.resource.Resource> getResources(Set<Integer> resourceIds,
boolean includeDescendants)
- Specified by:
getResources in interface DiscoveryServerService
getInventoryStatus
public Map<Integer,org.rhq.core.domain.resource.InventoryStatus> getInventoryStatus(int rootResourceId,
boolean descendents)
- Specified by:
getInventoryStatus in interface DiscoveryServerService
setResourceError
public void setResourceError(org.rhq.core.domain.resource.ResourceError resourceError)
- Specified by:
setResourceError in interface DiscoveryServerService
clearResourceConfigError
public void clearResourceConfigError(int resourceId)
- Specified by:
clearResourceConfigError in interface DiscoveryServerService
addResource
public org.rhq.core.domain.discovery.MergeResourceResponse addResource(org.rhq.core.domain.resource.Resource resource,
int creatorSubjectId)
- Specified by:
addResource in interface DiscoveryServerService
updateResourceVersion
public boolean updateResourceVersion(int resourceId,
String version)
- Specified by:
updateResourceVersion in interface DiscoveryServerService
upgradeResources
public Set<ResourceUpgradeResponse> upgradeResources(Set<ResourceUpgradeRequest> upgradeRequests)
- Specified by:
upgradeResources in interface DiscoveryServerService
postProcessNewlyCommittedResources
public Set<org.rhq.core.domain.measurement.ResourceMeasurementScheduleRequest> postProcessNewlyCommittedResources(Set<Integer> resourceIds)
- Specified by:
postProcessNewlyCommittedResources in interface DiscoveryServerService
Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.