Example usage for org.springframework.context ApplicationContextInitializer interface-usage

List of usage examples for org.springframework.context ApplicationContextInitializer interface-usage

Introduction

In this page you can find the example usage for org.springframework.context ApplicationContextInitializer interface-usage.

Usage

From source file io.fabric8.msg.gateway.TestGateway.java

public class TestGateway implements ApplicationContextInitializer {
    private MessageGateway messageGateway;

    @Before
    public void doStart() throws Exception {
        messageGateway = new MessageGateway();

From source file io.pivotal.springcloud.ssl.CloudFoundryCertificateTruster.java

/**
 * Trusts certificates specified by environment variables CF_TARGET and
 * TRUST_CERTS. Trust is established during application context initialization.
 *
 * @author wtran@pivotal.io
 */

From source file org.cloudfoundry.reconfiguration.spring.CloudPropertySourceApplicationContextInitializer.java

/**
 * An {@link ApplicationContextInitializer} implementation that adds a {@code cloud} {@link PropertySource} to the
 * collection of {@link PropertySource}s in the {@link ConfigurableApplicationContext}.  This support is {@link Ordered}
 * at {@code 200} to allow other {@link ApplicationContextInitializer}s to position themselves around it.
 */
public final class CloudPropertySourceApplicationContextInitializer

From source file com.devnexus.ting.web.config.DefaultApplicationContextInitializer.java

/**
 *
 * @author Gunnar Hillert
 *
 */
public class DefaultApplicationContextInitializer

From source file org.os890.ds.addon.spring.impl.bidirectional.CdiAwareApplicationContextInitializer.java

@Exclude
public class CdiAwareApplicationContextInitializer implements ApplicationContextInitializer {
    @Override
    public void initialize(ConfigurableApplicationContext applicationContext) {
        applicationContext.addBeanFactoryPostProcessor(SpringBridgeExtension.getBeanFactoryPostProcessor());
    }

From source file org.greencheek.utils.environment.propertyplaceholder.examples.spring.profile.AppBootstrap.java

/**
 * User: dominictootell
 * Date: 10/06/2012
 * Time: 14:42
 */

From source file de.tudarmstadt.ukp.clarin.webanno.webapp.security.preauth.WebAnnoApplicationContextInitializer.java

import de.tudarmstadt.ukp.clarin.webanno.webapp.home.page.SettingsUtil;

public class WebAnnoApplicationContextInitializer
        implements ApplicationContextInitializer<ConfigurableApplicationContext> {
    private static final String PROFILE_PREAUTH = "auto-mode-preauth";
    private static final String PROFILE_DATABASE = "auto-mode-builtin";

From source file org.cloudfoundry.identity.uaa.config.YamlServletProfileInitializer.java

/**
 * An {@link ApplicationContextInitializer} for a web application to enable it to externalize the environment and
 * logging configuration. A YAML config file is loaded if present and inserted into the environment. In addition if the
 * YAML contains some special properties, some initialization is carried out:
 *
 * <ul>

From source file org.wso2.msf4j.spring.property.YamlFileApplicationContextInitializer.java

/**
 * ApplicationContextInitializer class used to load environment properties from YAML files.
 */
public class YamlFileApplicationContextInitializer
        implements ApplicationContextInitializer<ConfigurableApplicationContext> {

From source file com.indeed.iupload.web.PropertiesInitializer.java

/**
 * Adds Spring property sources for the following locations in the following order:
 * WEB-INF/config/iupload-base.properties
 * WEB-INF/config/iupload-${environment}.properties where environment is one of constants from ProfileIds for the active profile.
 * ${catalina.base)/conf/iupload.properties
 * Path pointed to by propertyPlaceholderResourceLocation (or configFile) Tomcat context parameter