I see what you mean Denis, thank you.
On Fri, May 31, 2013 at 10:21 AM, Denis Stepanov <denis.stepa...@gmail.com>wrote: > I have tried to push exactly same idea but wasn't successful. > > https://issues.apache.org/jira/browse/TAP5-1842 > > Denis > > May 31, 2013 v 4:16 PM, Eli Doran <e...@elidoran.com>: > > > There's already a @ServiceId annotation to specify the ID. This isn't a > > "service" exactly, it's close enough. > > > > > > On Fri, May 31, 2013 at 10:12 AM, Lance Java <lance.j...@googlemail.com > >wrote: > > > >> Perhaps a new annotation is required > >> > >> @OrderedStartup(id="doEarly", constraints="before:*") > >> public static void doStuff() { … } > >> > >> @OrderedStartup(id="doStuff") > >> public static void doStuff() { … } > >> > >> @OrderedStartup(id="doMoreStuff", constraints="after:doStuff") > >> public static void doMoreStuff() { … } > >> On 31 May 2013 14:50, "Lance Java" <lance.j...@googlemail.com> wrote: > >> > >>> I'm not sure this would work. OrderedConfiguration requires that every > >>> entry has a unique id and @Startup does not require an id. I guess you > >>> could use ModuleClass.methodName for the default id but it's messy. > >>> > >> > >