public void setApplicationContext(ApplicationContext applicationContext) throws BeansException {
// look for a ControlFlowConfigurator in the application context, if none is found, use the
// default one
configurator = GeoServerExtensions.bean(ControlFlowConfigurator.class, applicationContext);
if (configurator == null)
configurator = new DefaultControlFlowConfigurator();
}