title: Change spring bean properties at configuration time
body: <p>In a spring servlet xml file, I'm using <code>org.springframework.scheduling.quartz.SchedulerFactoryBean</code> to regularly fire a set of triggers.</p>
  
  <pre><code>&lt;bean class="org.springframework.scheduling.quartz.SchedulerFactoryBean"&gt;
      &lt;property name="triggers"&gt;
          &lt;list&gt;
              &lt;ref local="AwesomeTrigger" /&gt;
              &lt;ref local="GreatTrigger" /&gt;
              &lt;ref local="FantasticTrigger"/&gt;
          &lt;/list&gt;
      &lt;/property&gt;
  &lt;/bean&gt;
  </code></pre>
  
  <p>The issue is that in different environments, I don't want certain triggers firing. Is there a way to include some sort of configuration or variable defined either in my build.properties for the environment or in a spring custom context properties file that assists the bean xml to determine which triggers should be included in the list? That way, for example, <code>AwesomeTrigger</code> would be called in development but not qa.</p>