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. > > >