title: How to get access to the current JUnitCore to add a listener?
body: <p>I have some test infrastructure classes that I'd like to add as listeners of JUnitCore , specifically for testRunFinished.
  I'm invoking Junit 4 from ant's  task.  </p>
  
  <p>Is there some way for me to get access to the JUnitCore created by the  task so that I can add a listener? </p>