jsr341-experts@el-spec.java.net

[jsr341-experts] Bean names with namespace

From: Kin-man Chung <kinman.chung_at_oracle.com>
Date: Tue, 09 Aug 2011 10:02:30 -0700

I recall that it is a CDI requirement that bean names can have
namespaces, such as "org.goofy.configs". Pete, is this still the case?
Are there any other things that EL needs to do, other than the ability
to parse and evaluates it?

Since names that contains a "." creates ambiguities are parse time,
we'll need to resolve it. I propose that we introduce another syntax
notation for it, like what we did for static fields. For instance, we
can write

     #{N(org.goofy.configs).memSize}.

to denote the bean org.goofy.configs with the property memSize. What do
you think?

Kin-man