[weld-dev] Java SE extension

Peter Royle howardmoon at screamingcoder.com
Thu Nov 19 09:24:27 EST 2009


On 18/11/2009, at 8:25 AM, Gavin King wrote:

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

Thanks for the feedback. I have to say thanks to Pete M as well who helped me out with some of the lower-level stuff and general polish (and probably more).

As for the below, I certainly haven't managed to come up with any better solution, but I'm not really leaning towards any one in particular. If we implemented them all do you think that would be too confusing for users or would it be alright?

Cheers,

Pete R


> 
> 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
> _______________________________________________
> weld-dev mailing list
> weld-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/weld-dev




More information about the weld-dev mailing list