Skip to content

Latest commit

 

History

History
17 lines (13 loc) · 407 Bytes

README.md

File metadata and controls

17 lines (13 loc) · 407 Bytes

spwrap spring-boot starter

spring-boot starter for spwrap

@Configuration
public class Config {

    // DAO bean will be defined by the starter with default properties 
    // you can override the properties using `spwrap.` prefixed properties
    @Bean
    public CustomerDAO customerDAO(DAO dao) {
        return dao.create(CustomerDAO.class);
    }
}