[
https://issues.apache.org/jira/browse/TAP5-1842?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13225973#comment-13225973
]
Denis Stepanov commented on TAP5-1842:
--------------------------------------
It should work across multiple modules, see my implementation:
https://github.com/dstepanov/tapestry5/commit/21f90340d98e3aa778f65ca6a46767ad7662c8ff
Default id is ModuleName#method, I would prefer to have an ability to specify
the startup id:
@Startup(id = "third", constraints = "after:second")
methodThird
or change it to use the @Order annotation:
@Order("after:second")
@Startup("third")
methodThird
The @Order is only used for decoration, I hope it would't be a problem to use
it elsewhere.
> @Startup should support id and constraints
> ------------------------------------------
>
> Key: TAP5-1842
> URL: https://issues.apache.org/jira/browse/TAP5-1842
> Project: Tapestry 5
> Issue Type: Improvement
> Components: tapestry-ioc
> Reporter: Denis Stepanov
>
> It would be nice to have something like:
> @Startup(id = "DBInit", constraints = "before:*")
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira