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 fi.helsinki.opintoni.config.LocaleConfiguration.java

@Configuration
public class LocaleConfiguration extends WebMvcConfigurerAdapter implements EnvironmentAware {

    private RelaxedPropertyResolver propertyResolver;

    @Override

From source file fi.helsinki.opintoni.config.MetricsConfiguration.java

@Configuration
@EnableMetrics(proxyTargetClass = true)
public class MetricsConfiguration extends MetricsConfigurerAdapter implements EnvironmentAware {

    private static final String ENV_METRICS = "metrics.";
    private static final String PROP_JMX_ENABLED = "jmx.enabled";

From source file org.meruvian.yama.webapi.service.RestSignUpService.java

/**
 * @author Dian Aditya
 *
 */
@Service
@Transactional

From source file org.opendatakit.security.spring.BasicAuthenticationFilter.java

/**
 * Wraps the Spring class and ensures that if an Authentication is already 
 * determined for this request, that it isn't overridden.
 * 
 * @author mitchellsundt@gmail.com
 *

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

@Configuration
@EnableMetrics(proxyTargetClass = true)
public class MetricsConfiguration extends MetricsConfigurerAdapter implements EnvironmentAware {

    private static final String ENV_METRICS = "metrics.";

From source file org.obiba.mica.micaConfig.service.PluginsService.java

@Component
public class PluginsService implements EnvironmentAware {

    private static final Logger log = LoggerFactory.getLogger(PluginsService.class);

    private static final String PLUGINS_PATH = "${MICA_HOME}/plugins";

From source file fi.helsinki.opintoni.config.DatabaseConfiguration.java

@Configuration
@EnableJpaRepositories("fi.helsinki.opintoni.repository")
@EnableJpaAuditing(auditorAwareRef = "springSecurityAuditorAware")
@EnableTransactionManagement
public class DatabaseConfiguration implements EnvironmentAware {

From source file org.surfnet.oaaas.resource.VerifyResource.java

 * Resource for handling the call from resource servers to validate an access
 * token. As this is not part of the oauth2 <a
 * href="http://tools.ietf.org/html/draft-ietf-oauth-v2">spec</a>, we have taken
 * the Google <a href=
 * "https://developers.google.com/accounts/docs/OAuth2Login#validatingtoken"
 * >specification</a> as basis.

From source file com.github.pagehelper.autoconfigure.PageHelperAutoConfiguration.java

/**
 * ?
 *
 * @author liuzh
 */
@Configuration

From source file cz.muni.fi.editor.database.helpers.HibernateConfiguration.java

/**
 * Created by Dominik Szalai - emptulik at gmail.com on 8.8.2016.
 */
@Configuration
@Log4j2
public class HibernateConfiguration implements EnvironmentAware {