Class ClosingDataSource

java.lang.Object
org.flowable.common.engine.impl.test.ClosingDataSource
All Implemented Interfaces:
Wrapper, CommonDataSource, DataSource, EngineLifecycleListener

public class ClosingDataSource extends Object implements DataSource, EngineLifecycleListener
A DataSource implementation for test purposes that wraps another DataSource and makes sure that the DataSource is closed when a Flowable engine gets closed.
Author:
Joram Barrez