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

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

Introduction

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

Usage

From source file org.cloudfoundry.identity.varz.VarzEndpoint.java

@Controller
public class VarzEndpoint implements EnvironmentAware {

    private static Log logger = LogFactory.getLog(VarzEndpoint.class);

    private MBeanServerConnection server;

From source file org.obiba.mica.config.WebConfiguration.java

/**
 * Configuration of web application with Servlet 3.0 APIs.
 */
@Configuration
@ComponentScan({ "org.obiba.mica", "org.obiba.shiro" })
@PropertySource("classpath:mica-webapp.properties")

From source file org.appverse.web.framework.backend.frontfacade.mvc.swagger.autoconfigure.SwaggerDefaultSetup.java

/**
 * This class holds default swagger configuration using Swagger Sprinfox API.
 * You can enable / disable this autoconfiguration by using the property
 * "appverse.frontfacade.swagger.enabled" which is false by default.
 * 
 * It creates by default a default group showing all your API (the patterns you have included).

From source file org.jasig.springframework.web.portlet.filter.GenericPortletFilterBean.java

/**
 * Simple base implementation of {@link ActionFilter}, {@link EventFilter},
 * {@link RenderFilter}, and {@link ResourceFilter} which treats its config
 * parameters (<code>init-param</code> entries within the <code>filter</code>
 * tag in <code>portlet.xml</code>) as bean properties.
 *

From source file fr.wati.yacramanager.config.apidoc.SwaggerConfiguration.java

@Configuration
@EnableSwagger
@Profile("!" + Constants.SPRING_PROFILE_FAST)
public class SwaggerConfiguration implements EnvironmentAware {
    public static final String DEFAULT_INCLUDE_PATTERN = "/app/api/.*";

From source file org.apache.dubbo.config.spring.context.annotation.DubboConfigBindingRegistrar.java

/**
 * {@link AbstractConfig Dubbo Config} binding Bean registrar
 *
 * @see EnableDubboConfigBinding
 * @see DubboConfigBindingBeanPostProcessor
 * @since 2.5.8

From source file org.apache.servicecomb.config.ConfigurationSpringInitializer.java

public class ConfigurationSpringInitializer extends PropertyPlaceholderConfigurer implements EnvironmentAware {
    private static final Logger LOGGER = LoggerFactory.getLogger(ConfigurationSpringInitializer.class);

    public static final String EXTRA_CONFIG_SOURCE_PREFIX = "extraConfig-";

    public ConfigurationSpringInitializer() {

From source file org.bytesoft.bytejta.supports.springcloud.SpringCloudConfiguration.java

@PropertySource(value = "bytejta:loadbalancer.config", factory = TransactionPropertySourceFactory.class)
@Configuration
public class SpringCloudConfiguration extends WebMvcConfigurerAdapter
        implements BeanFactoryPostProcessor, TransactionEndpointAware, EnvironmentAware, ApplicationContextAware {
    static final String CONSTANT_INCLUSIONS = "org.bytesoft.bytejta.feign.inclusions";
    static final String CONSTANT_EXCLUSIONS = "org.bytesoft.bytejta.feign.exclusions";

From source file org.cloudfoundry.identity.uaa.impl.config.EnvironmentMapFactoryBean.java

/**
 * Factory for Maps that reads from the Spring context {@link Environment} where
 * it can.
 * 
 * @author Dave Syer
 * 

From source file org.cloudfoundry.identity.uaa.impl.config.YamlConfigurationValidator.java

/**
 * Uses a defined SnakeYAML constructor to validate the raw YAML obtained from
 * the environment.
 * 
 * @author Luke Taylor
 * @author Dave Syer