[jboss-user] [JBoss Seam] - Can @In be used in entity classes?

ellenzhao do-not-reply at jboss.com
Fri Jul 20 16:31:41 EDT 2007


Hi folks,

I'm trying to externalize all the business logic to rule files for each entity. With Seam this is conceptually not complex to do at all, in fact really straight forward. I just need a ruleBase /managedWorkingMemory for each entity and configure them in the component.xml.  But then I need something like this in each entity class:


  | @Entity @Name("foo") @Table....
  | public class Foo implements Serializable {
  | ...
  | @In(create = true)
  | private RuleBase fooBusinessLogics;
  | 
  | ...
  | }
  | 

Can entity classes also use @In ? Thanks!


Regards,
Ellen

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

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



More information about the jboss-user mailing list