org.rhq.core.clientapi.server.inventory
Interface ResourceFactoryServerService


public interface ResourceFactoryServerService

Callback interface for resource factory operations. Implementations of this interface, once registered with the plugin container, will received the requests that were issued updated with the operation results.


Method Summary
 void completeCreateResource(CreateResourceResponse response)
          Tells the server that a creation request has completed.
 void completeDeleteResourceRequest(DeleteResourceResponse response)
          Tells the server that a delete request has completed.
 

Method Detail

completeCreateResource

@Asynchronous(guaranteedDelivery=true)
void completeCreateResource(CreateResourceResponse response)
Tells the server that a creation request has completed. The request is identified by the requestId parameter, which correlates to the requestId passed into the original agent service call. If the request was successful, the resource key of the newly created resource should be returned as well.

Parameters:
response - carries information on the status and results of the create call

completeDeleteResourceRequest

@Asynchronous(guaranteedDelivery=true)
void completeDeleteResourceRequest(DeleteResourceResponse response)
Tells the server that a delete request has completed. The request is identified by the requestId parameter, which correlates to the requestId passed into the original agent service call.

Parameters:
response - carries information on the status and results of the delete call


Copyright © 2008-2009 Red Hat, Inc.. All Rights Reserved.