title: How are Spring <task:scheduled> objects represented at runtime?
body: <p>I have an app that uses the "task:scheduler" and "task:scheduled-tasks" elements (the latter containing "task:scheduled" elements).  This is all working fine.</p>
  
  <p>I'm trying to write some code that introspects the "application configuration" to get a short summary of some important information, like what tasks are scheduled and what their schedule is.</p>
  
  <p>I already have a class that has a bunch of "@Autowired" instance variables so I can iterate through all of this.  It was easy enough to add a "List" to get all of the TaskScheduler objects.  I only have two of these, and I have a different set of scheduled tasks in each of them.</p>
  
  <p>What I can't see in those TaskScheduler objects (they are actually ThreadPoolTaskScheduler objects) is anything that looks like a list of scheduled tasks, so I'm guessing the list of scheduled tasks is recorded somewhere else.</p>
  
  <p>What objects can I use to introspect the set of scheduled tasks, and which thread pool they are in?</p>