[jboss-user] [JBoss Seam] - Re: How to read a property from components.xml

petemuir do-not-reply at jboss.com
Wed Apr 18 11:36:51 EDT 2007


@Name("foo")
  | public class Foo {
  | 
  |    private String bar;
  | 
  |    // Getters and setters for bar
  | 
  |    public void doSomething() {
  |       // bar contains "Pete"
  |    }
  | }


  |    <component name="foo">
  |       <property name="bar">Pete</property>
  |    </component>
  | 

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

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



More information about the jboss-user mailing list