org.rhq.plugins.perftest.resource
Class EmptyResourceFactory
java.lang.Object
org.rhq.plugins.perftest.resource.EmptyResourceFactory
- All Implemented Interfaces:
- ResourceFactory
public class EmptyResourceFactory
- extends Object
- implements ResourceFactory
Resource factory used when a scenario does not define any resources of a particular type. This class will simply
return an empty set of resources.
- Author:
- Jason Dobies
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EmptyResourceFactory
public EmptyResourceFactory()
discoverResources
public Set<DiscoveredResourceDetails> discoverResources(ResourceDiscoveryContext context)
- Description copied from interface:
ResourceFactory
- Simulates a discovery of resources. The actual resources returned depend on the actual implementation's
algorithm.
- Specified by:
discoverResources in interface ResourceFactory
- Parameters:
context - passed to the component's discovery call
- Returns:
- resources discovered from this call
Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.