Hmm, interesting idea... so something like this?
Seam.Instance("org.jboss.seam.remoting.examples.helloworld.HelloAction").select("@HelloQualifier(foo
= 123)")
On 02/12/09 09:58, Gavin King wrote:
On Tue, Dec 1, 2009 at 6:53 PM, Shane
Bryzak<sbryzak(a)redhat.com> wrote:
> Remoting now has full support for looking up qualified beans, so you can
> now do cool stuff like this:
>
Nice.
> If the bean is @Named then you can simply pass in the name to
> Seam.Component.create() in JavaScript, otherwise you can use a
> combination of bean type and qualifiers. I need to still do some work
> on the API, instead of Seam.Component.create() I'm thinking
> Seam.Bean.instance() instead.
>
Perhaps you could make the API look like Instance<X>?