Created
March 4, 2019 02:45
-
-
Save lubarinobr/4b490f1bbd4e3ae9814861b9b9d3a8d3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package br.com.lubarino.profiles.conexao; | |
import org.springframework.context.annotation.Bean; | |
import org.springframework.context.annotation.Configuration; | |
import org.springframework.context.annotation.Profile; | |
@Configuration | |
@Profile("qa") | |
public class BaseConfiguration { | |
@Bean | |
public void doSomething() { | |
// Realiza alguma operação | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment