[jboss-user] [JBoss Seam] - Default namming strategy for components
sebasfiorent
do-not-reply at jboss.com
Fri Oct 6 12:35:34 EDT 2006
Exists a default naming strategy for components?
I have the following situation:
I'm starting to build a large-scale app which will contain about 800+ components. I really need the "name" attribute of @Name annotation to be optional. If no "name" is specified, the name will be the className.
Example
package a.b;
@Name
@Stateful
public class C{
..
}
then, component C will be named a.b.C (equals to assign name="a.b.C" in the @Name annotation).
My intention is to use @In in a seamless way, because with a huge number of components, that would become a knighmare to detect errors (at runtime)
Regards,
Sebastian
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3976639#3976639
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3976639
More information about the jboss-user
mailing list