@Override
					public Object invoke(MethodInvocation invocation) throws Throwable {
						if (TransactionSynchronizationManager.isActualTransactionActive()) {
							throw new IllegalStateException(
									"Existing transaction detected in JobRepository. "
											+ "Please fix this and try again (e.g. "
											+ "remove @Transactional annotations from "
											+ "client).");
						}
						return invocation.proceed();
					}
A {@link org.springframework.beans.factory.FactoryBean} for creating an instance of
{@link org.springframework.xd.dirt.plugins.job.support.JobLaunchingJobRepository}

@author Michael Minella
spring-xd-dirt/src/main/java/org/springframework/xd/dirt/plugins/job/support/JobLaunchingJobRepositoryFactoryBean.java