org.specrunner.core
Class SRMappingDefault
java.lang.Object
org.specrunner.core.SRMappingDefault
- All Implemented Interfaces:
- ISRMapping
public class SRMappingDefault
- extends Object
- implements ISRMapping
The Spring mapping.
- Author:
- Thiago Santos
|
Constructor Summary |
SRMappingDefault()
Create a group of services provided by SpecRunner. |
|
Method Summary |
|
getDefault(Class<T> type)
Gets the default instance of a given services. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SRMappingDefault
public SRMappingDefault()
- Create a group of services provided by SpecRunner.
getDefault
public <T> T getDefault(Class<T> type)
- Gets the default instance of a given services.
- Specified by:
getDefault in interface ISRMapping
- Type Parameters:
T - The class type.- Parameters:
type - The type.
- Returns:
- The service object.
Copyright © 2014. All rights reserved.