Make java spring controller constructor public. (#4972)

* Make java spring controller constructor public.

This lets users manually create the controller and inject the delegate in the
spring configuration file, instead of letting spring scan for controllers and
autowire the delegate.

* Ran spring-all-pestore.sh.
This commit is contained in:
pablograna
2017-03-09 12:11:44 -03:00
committed by wing328
parent bfb4390a1c
commit fb75996527
39 changed files with 237 additions and 279 deletions

View File

@@ -33,7 +33,7 @@ public class {{classname}}Controller implements {{classname}} {
private final {{classname}}Delegate delegate;
@org.springframework.beans.factory.annotation.Autowired
{{classname}}Controller({{classname}}Delegate delegate) {
public {{classname}}Controller({{classname}}Delegate delegate) {
this.delegate = delegate;
}{{/isDelegate}}