com.parthparekh.service
Class TestServiceConfiguration
java.lang.Object
com.parthparekh.service.TestServiceConfiguration
@Configuration
public class TestServiceConfiguration
- extends java.lang.Object
Configuration class for Tests
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
cacheType
@Value(value="${cache.type:ehcache}")
private java.lang.String cacheType
cacheManager
@Autowired
private net.sf.ehcache.CacheManager cacheManager
TestServiceConfiguration
public TestServiceConfiguration()
getCache
@Bean(name="defaultCache")
public Cache getCache()
throws java.io.IOException
- Throws:
java.io.IOException
getObjectMapper
@Bean(name="defaultObjectMapper")
public org.codehaus.jackson.map.ObjectMapper getObjectMapper()