org.rhq.core.pc.inventory
Class DeleteResourceRunner
java.lang.Object
org.rhq.core.pc.inventory.DeleteResourceRunner
- All Implemented Interfaces:
- Runnable, Callable
public class DeleteResourceRunner
- extends Object
- implements Callable, Runnable
Runnable implementation to thread delete resource requests.
- Author:
- Jason Dobies
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DeleteResourceRunner
public DeleteResourceRunner(ResourceFactoryManager resourceFactoryManager,
DeleteResourceFacet facet,
int requestId,
int resourceId)
- Creates a new instance of the runner that will execute the specified request.
- Parameters:
resourceFactoryManager - handle to the manager for any business logic requiredfacet - facet against which to perform the delete operationrequestId - ID of the request, used when submitting the responseresourceId - ID of the resource being deleted
run
public void run()
- Specified by:
run in interface Runnable
call
public Object call()
throws Exception
- Specified by:
call in interface Callable
- Throws:
Exception
Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.