Example usage for org.springframework.batch.support.transaction TransactionAwareProxyFactory createTransactionalSet

List of usage examples for org.springframework.batch.support.transaction TransactionAwareProxyFactory createTransactionalSet

Introduction

In this page you can find the example usage for org.springframework.batch.support.transaction TransactionAwareProxyFactory createTransactionalSet.

Prototype

public static <T> Set<T> createTransactionalSet() 

Source Link

Usage

From source file:org.springframework.batch.support.transaction.ConcurrentTransactionAwareProxyTests.java

@Test(expected = Throwable.class)
public void testConcurrentTransactionalSet() throws Exception {
    Set<String> set = TransactionAwareProxyFactory.createTransactionalSet();
    testSet(set);//w  w w . j a va2 s  .c  o m
}