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 com.wisemapping.webmvc.ApplicationContextInitializer.java

public class ApplicationContextInitializer
        implements org.springframework.context.ApplicationContextInitializer<ConfigurableWebApplicationContext> {

    public void initialize(@NotNull ConfigurableWebApplicationContext ctx) {
        try {
            final Resource resource = new ServletContextResource(ctx.getServletContext(),

From source file com.indeed.imhotep.web.config.PropertiesInitializer.java

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

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

/**
 *
 * @author Gunnar Hillert
 * @author Summers Pittman
 *
 */

From source file net.community.chest.gitcloud.facade.AbstractContextInitializer.java

/**
 * @author Lyor Goldstein
 * @since Sep 12, 2013 8:43:05 AM
 */
public abstract class AbstractContextInitializer extends AbstractLoggingBean
        implements ApplicationContextInitializer<ConfigurableApplicationContext> {

From source file edu.jhuapl.openessence.config.AppInitializer.java

/**
 * Hook into ApplicationContext startup. Useful for things like adding PropertySources to the Environment and
 * programmatically configuring the active profiles.
 *
 * Enabled in web.xml (context-param contextInitializerClasses).
 */

From source file org.dspace.app.rest.utils.DSpaceConfigurationInitializer.java

/**
 * Utility class that will initialize the DSpace Configuration on Spring Boot startup.
 * <P>
 * NOTE: MUST be loaded after DSpaceKernelInitializer, as it requires the kernel is already initialized.
 * <P>
 * This initializer ensures that our DSpace Configuration is loaded into Spring's list of PropertySources

From source file org.dspace.app.rest.utils.DSpaceKernelInitializer.java

/**
 * Utility class that will initialize the DSpace Kernel on Spring Boot startup.
 * Used by org.dspace.app.rest.Application
 */
public class DSpaceKernelInitializer implements ApplicationContextInitializer<ConfigurableApplicationContext> {

From source file org.jahia.test.framework.JahiaWebInitializer.java

public class JahiaWebInitializer implements ApplicationContextInitializer<GenericWebApplicationContext> {

    private static final transient Logger logger = LoggerFactory.getLogger(JahiaWebInitializer.class);

    @Override
    public void initialize(GenericWebApplicationContext webAppContext) {

From source file org.ojb.web.portal.WebPortalApplicationContextInitializer.java

public class WebPortalApplicationContextInitializer
        implements ApplicationContextInitializer<ConfigurableApplicationContext> {

    private static final Log LOG = LogFactory.getLog(WebPortalApplicationContextInitializer.class);

    @Override

From source file org.springframework.boot.autoconfigure.AutoConfigurationReportLoggingInitializer.java

/**
 * {@link ApplicationContextInitializer} and {@link SpringApplicationErrorHandler} that
 * writes the {@link AutoConfigurationReport} to the log. Reports are logged at the
 * {@link LogLevel#DEBUG DEBUG} level unless there was a problem, in which case they are
 * the {@link LogLevel#INFO INFO} level is used.
 *