Class ResetDatabaseConfigurer
java.lang.Object
com.foreach.across.test.support.config.ResetDatabaseConfigurer
- All Implemented Interfaces:
AcrossContextConfigurer
,org.springframework.beans.factory.Aware
,org.springframework.beans.factory.BeanFactoryAware
@Order(2147483647)
@Configuration
public class ResetDatabaseConfigurer
extends Object
implements AcrossContextConfigurer, org.springframework.beans.factory.BeanFactoryAware
Takes care of resetting the datasources attached to the
AcrossContext
.- Since:
- 1.1.2
- Author:
- Arne Vandamme
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
configure
(AcrossContext context) void
setBeanFactory
(org.springframework.beans.factory.BeanFactory beanFactory)
-
Constructor Details
-
ResetDatabaseConfigurer
public ResetDatabaseConfigurer()
-
-
Method Details
-
setBeanFactory
public void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory) throws org.springframework.beans.BeansException - Specified by:
setBeanFactory
in interfaceorg.springframework.beans.factory.BeanFactoryAware
- Throws:
org.springframework.beans.BeansException
-
configure
- Specified by:
configure
in interfaceAcrossContextConfigurer
-