org.specrunner.core
Class SRMappingDefault

java.lang.Object
  extended by 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
<T> T
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
 

Constructor Detail

SRMappingDefault

public SRMappingDefault()
Create a group of services provided by SpecRunner.

Method Detail

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.