}
final JobExecutor jobExecutor = jbpmContext.getJbpmConfiguration().getJobExecutor() ;
if (jobExecutor != null)
{
final TransactionStrategy transactionStrategy = TransactionStrategy.getTransactionStrategy(true) ;
try
{
if (transactionStrategy.isActive())
{
final Transaction transaction = (Transaction)transactionStrategy.getTransaction() ;
if ((transaction != null) && !SYNCHRONISATIONS.containsKey(transaction))
{
final Synchronization synch = new JobNotifierSynchronisation(transaction, jobExecutor) ;
transaction.registerSynchronization(synch) ;
SYNCHRONISATIONS.put(transaction, synch) ;