[jboss-user] [JBoss Seam] - Re: @Factory and @DataModel on the same method
tony.herstell@gmail.com
do-not-reply at jboss.com
Thu Mar 15 20:56:27 EDT 2007
Is this allowed then?
@DataModel
private Organisation[] organisations;
/*
* Methods
*/
@Factory("organisations") // Is run whenever this bean is created (we know its going to be the "All" query.
public void initOrganisations() {
log.info("> initOrganisations");
applyAllQuery();
log.info("< initOrganisations");
}
??
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4028630#4028630
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4028630
More information about the jboss-user
mailing list