tweak to better check for prototyping / execute

use ApplicationContext to check for prototyping.
Instead of using the instantiated job for checking execute
 method, we are using the class instead.