[weld-dev] Java SE extension

Gavin King gavin.king at gmail.com
Tue Nov 17 17:25:25 EST 2009


Great work on this, Peter, it's really nice.

I think we should let you specify an event type to raise:

   java -Devent=my.Event

or, perhaps, an event qualifier to be applied to the ContainerInitialized event:

   java -Dqualifier=my.Qualifier

that way, you have a mechanism for choosing between "main methods".

Alternatively, we could use something EL-ish to specify a method to call:

   java -Daction=mybean.method

Hrm, perhaps that's the best option. Maybe my idea of using an event
wasn't so great after all.

WDYT?

-- 
Gavin King
gavin.king at gmail.com
http://in.relation.to/Bloggers/Gavin
http://hibernate.org
http://seamframework.org


More information about the weld-dev mailing list