[jboss-user] [Microcontainer] - Re: How do you override the source for configuration propert

genman do-not-reply at jboss.com
Fri Jul 20 13:29:19 EDT 2007


I was thinking of doing something like this for my project.

Basically, you would annotate the properties you want to load from the DB/LDAP or whatever with the corresponding property name.

Something like

@DBProperty(name = "foo")
public void setFoo(String foo) {
}

And then isn't there a way to create a deployer that will scan your objects for annotations and do something?

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

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



More information about the jboss-user mailing list