THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Code Block | ||||
---|---|---|---|---|
| ||||
public class MyService implements MyServiceInterface { public MyService(@Value("${tapestry.production-mode}") boolean productionMode, ...) { if (productionMode) { . . . |
Here Tapestry has coerced the "tapestry.production-mode" symbol to a boolean to be injected.
...