Easy
What does the @Profile
annotation do in the following code:
@Service
@Profile("!dev")
public class AddressService {
//...
}
Author: W3D TeamStatus: PublishedQuestion passed 189 times
Edit
0
Community EvaluationsNo one has reviewed this question yet, be the first!
13
A bean with a `session` scope is injected into a bean with a` singleton` scope. What happens when the application starts?4
The `@Autowired` annotation is a Spring annotation, accepts a parameter allowing to specify if a dependency is optional7
Explain the `session` scope in Spring4
How does Spring match beans?4
What is the scope of a bean with a `request` scope?16
Explain the prototype scope in Spring5
How is PDO implemented in Spring?