Ignacio Molina Cuquerella c91ce17aee Feature/javaPlayWithAsynchronousControllers (#7705)
* Add property 'supportAsync' to allow the use of CompletionStage of java8

* Add support for completionStage in play-framework templates

* Add script to generate samples for play-framework async controllers

* Add generated samples for java play framework with asynchronous controllers

* Add missing templates and generate samples

* Remove useless comments from generated samples in play framework async

* Fix ControllerImp template for java play framework

* Add script for java play framework async to general script

* Regenerate java play framework server samples

* Fix missing whitespace

* Fix unnecessary blank lines at imports

* Fix tabulation issue

* Fix tabulation issue in controllers

* Remove blanks from api Imp

* Remove more empty lines

* Add blank between methods

* Remove blanks before call to service method

* Fix some tabulations in java play async templates

* Regenerate samples for java play async
2018-04-09 22:41:22 +08:00

13 lines
411 B
Java

import com.google.inject.AbstractModule;
import controllers.*;
public class Module extends AbstractModule {
@Override
protected void configure() {
bind(PetApiControllerImpInterface.class).to(PetApiControllerImp.class);
bind(StoreApiControllerImpInterface.class).to(StoreApiControllerImp.class);
bind(UserApiControllerImpInterface.class).to(UserApiControllerImp.class);
}
}