* Code for Dependency Injection Article. * Added Java based configuration. Downloaded formatter.xml and reformatted all changed files. Manually changed tab into 4 spaces in XML configuration files. * BAEL-434 - Spring Roo project files generated by Spring Roo. No formatting applied. Added POM, java and resources folders.
16 lines
536 B
Java
16 lines
536 B
Java
package com.baeldung.web;
|
|
import com.baeldung.domain.Book;
|
|
import org.springframework.roo.addon.web.mvc.controller.annotations.ControllerType;
|
|
import org.springframework.roo.addon.web.mvc.controller.annotations.RooController;
|
|
import org.springframework.roo.addon.web.mvc.thymeleaf.annotations.RooThymeleaf;
|
|
|
|
/**
|
|
* = BooksCollectionThymeleafController
|
|
TODO Auto-generated class documentation
|
|
*
|
|
*/
|
|
@RooController(entity = Book.class, type = ControllerType.COLLECTION)
|
|
@RooThymeleaf
|
|
public class BooksCollectionThymeleafController {
|
|
}
|