org.unitils.core.util
Interface ResourceConfigLoader<RC extends ResourceConfig>

Type Parameters:
RC - Implementation of ResourceConfig
All Known Implementing Classes:
AnnotationConfigLoader, HibernateAnnotationConfigLoader, JpaAnnotationConfigLoader

public interface ResourceConfigLoader<RC extends ResourceConfig>

Defines the contract for implementations that find a resource configuration on a test object, returning a subtype of ResourceConfig that wraps the configuration

Author:
Filip Neven, Tim Ducheyne

Method Summary
 RC loadResourceConfig(Object testObject)
           
 

Method Detail

loadResourceConfig

RC loadResourceConfig(Object testObject)
Parameters:
testObject - The test instance, not null
Returns:
The resource configuration for the given test object. Null if the test object doesn't specify any configuration for the resource type in question


Copyright © 2011. All Rights Reserved.