private void checkTransactionalAnnotation( Class<? extends TransactionalTask> taskType )
{
try
{
final Method method = taskType.getMethod( DO_TRANSACTIONAL );
final Transactional annotation = method.getAnnotation( Transactional.class );
checkNotNull( annotation, "@Transactional annotation missing on %s.%s", taskType.getSimpleName(),
method.getName() );
}
catch ( NoSuchMethodException e )
{