@Configuration @Import(value={org.kuali.common.util.spring.service.SpringServiceConfig.class,org.kuali.common.util.properties.spring.EnvironmentPropertySourceConfig.class}) public class IngestXmlRunOnceConfig extends Object implements org.kuali.common.util.spring.event.ApplicationEventListenerConfig
SmartApplicationListener
that ingests XML when it receives a ContextRefreshedEvent
.Constructor and Description |
---|
IngestXmlRunOnceConfig() |
public IngestXmlRunOnceConfig()
@Bean public org.springframework.context.event.SmartApplicationListener applicationEventListener()
The Parameter
properties need to come from the
ConfigContext
instead of the EnvironmentService
for the scenario
where nobody has wired in a bootstrap PSC in order to help manage the resetting of the database via RunOnce.
applicationEventListener
in interface org.kuali.common.util.spring.event.ApplicationEventListenerConfig
Copyright © 2005–2014 The Kuali Foundation. All rights reserved.