@Test public void testContextInitialized() { listener.contextInitialized(new ContextRefreshedEvent(applicationContext)); verify(evolveManager).evolve(); }
public void contextInitialized(ApplicationEvent event) { _log.info("Starting up system using " + propertyName + " properties."); if (startupCommand != null) { for (StartupCommand command:startupCommand) { command.execute(); } } }
ApplicationStartupListener implements ApplicationListener<ContextRefreshedEvent> { public void contextInitialized(ApplicationEvent event) { _log.info("Starting up system using " + propertyName + " properties."); if (startupCommand != null) { for (StartupCommand command:startupCommand) { command.execute(); } } } }
ApplicationStartupListener implements ApplicationListener<ContextRefreshedEvent> { public void contextInitialized(ApplicationEvent event) { _log.info("Starting up system using " + propertyName + " properties."); if (startupCommand != null) { for (StartupCommand command:startupCommand) { command.execute(); } } }  }
ApplicationStartupListener implements ApplicationListener<ContextRefreshedEvent> { public void contextInitialized(ApplicationEvent event) { _log.info("Starting up system using " + propertyName + " properties."); if (startupCommand != null) { for (StartupCommand command:startupCommand) { command.execute(); } } }  void contextInitialized(ApplicationEvent event); @Override void onApplicationEvent(ContextRefreshedEvent event); final void setPropertyName(String propertyName); final void setStartupCommand(List<StartupCommand> startupCommand); static boolean isApplicationStarted(); }
ApplicationStartupListener implements ApplicationListener<ContextRefreshedEvent> { public void contextInitialized(ApplicationEvent event) { _log.info("Starting up system using " + propertyName + " properties."); if (startupCommand != null) { for (StartupCommand command:startupCommand) { command.execute(); } } }  void contextInitialized(ApplicationEvent event); @Override void onApplicationEvent(ContextRefreshedEvent event); final void setPropertyName(String propertyName); final void setStartupCommand(List<StartupCommand> startupCommand); static boolean isApplicationStarted();  }