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 com.zuehlke.carrera.relay.config.apidoc.SwaggerConfiguration.java

/**
 * Springfox Swagger configuration.
 * <p>
 * Warning! When having a lot of REST endpoints, Springfox can become a performance issue. In that
 * case, you can use a specific Spring profile for this class, so that only front-end developers
 * have access to the Swagger view.

From source file com.rta.highestbid.generated.config.apidoc.SwaggerConfiguration.java

/**
 * Springfox Swagger configuration.
 *
 * Warning! When having a lot of REST endpoints, Springfox can become a performance issue. In that
 * case, you can use a specific Spring profile for this class, so that only front-end developers
 * have access to the Swagger view.

From source file com.rta.watchstore.generated.config.apidoc.SwaggerConfiguration.java

/**
 * Springfox Swagger configuration.
 *
 * Warning! When having a lot of REST endpoints, Springfox can become a performance issue. In that
 * case, you can use a specific Spring profile for this class, so that only front-end developers
 * have access to the Swagger view.

From source file com.swifthorseman.transpiler.config.apidoc.SwaggerConfiguration.java

/**
 * Springfox Swagger configuration.
 *
 * Warning! When having a lot of REST endpoints, Springfox can become a performance issue. In that
 * case, you can use a specific Spring profile for this class, so that only front-end developers
 * have access to the Swagger view.

From source file org.istic.idm.xtext.webservice.config.apidoc.SwaggerConfiguration.java

/**
 * Springfox Swagger configuration.
 *
 * Warning! When having a lot of REST endpoints, Springfox can become a performance issue. In that
 * case, you can use a specific Spring profile for this class, so that only front-end developers
 * have access to the Swagger view.

From source file com.github.aksakalli.todo.config.SwaggerConfiguration.java

@Configuration
@EnableSwagger2
@Profile("!" + Constants.SPRING_PROFILE_PRODUCTION)
public class SwaggerConfiguration implements EnvironmentAware {

    public static final String DEFAULT_INCLUDE_PATTERN = "/api/.*";

From source file com.vdenotaris.spring.boot.security.saml.web.TestConfig.java

@SpringBootApplication(scanBasePackages = { "gov.ca.emsa.pulse.auth.**",
        "com.vdenotaris.spring.boot.security.saml.web.**" })
@PropertySource("classpath:/environment.test.properties")
public class TestConfig extends WebMvcConfigurerAdapter implements EnvironmentAware {
    private Environment env;

From source file org.meruvian.yama.webapi.config.EmailConfig.java

/**
 * @author Dian Aditya
 *
 */
@Configuration
public class EmailConfig implements EnvironmentAware {

From source file ie.ianduffy.todo.config.apidoc.SwaggerConfiguration.java

@Configuration
@ComponentScan(basePackages = "com.mangofactory.swagger")
public class SwaggerConfiguration implements EnvironmentAware {
    public static final List<String> DEFAULT_INCLUDE_PATTERNS = Arrays.asList("/app/rest/.*");
    public static final String SWAGGER_GROUP = "todo-api";

From source file com.softb.system.swagger.config.SwaggerConfiguration.java

@Configuration
@ComponentScan(basePackages = "com.mangofactory.swagger")
public class SwaggerConfiguration implements EnvironmentAware {
    public static final List<String> DEFAULT_INCLUDE_PATTERNS = Arrays.asList("/api/.*", "/public/.*");
    public static final String SWAGGER_GROUP = "socialtravel-api";