Descripción
Create a Spring @Bean method returning a new instance of a type
File Template: ❌
Prefix
spring:bean
Scopes
java
Snippet de código
@Bean
public ${1:Type} ${2:name}() {
return new ${1:Type}();
}
Create a Spring @Bean method returning a new instance of a type
spring:bean
java
@Bean
public ${1:Type} ${2:name}() {
return new ${1:Type}();
}