[jboss-user] [JBoss Seam] - Enum in components.xml

Toby451 do-not-reply at jboss.com
Mon Nov 26 11:19:23 EST 2007


Is it possible to use enums as data to set on components from components.xml.

I would like to do something like this:

  | <property name="applicationMode">DEVELOPMENT</property>
  | 

... having a 


  | public enum ApplicationMode {
  |     PRODUCTION,
  |     STAGE,
  |     DEVELOPMENT
  | }
  | 


Any ideas? 


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4107785#4107785

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4107785



More information about the jboss-user mailing list