[seam-dev] First cab off the rank!

Shane Bryzak sbryzak at redhat.com
Tue Dec 1 19:03:31 EST 2009


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 at 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>?
>
>    



More information about the seam-dev mailing list