[jboss-user] [JBoss Seam] - Why org.jboss.seam.Model.getBeanClass() was made final?

jpsantos do-not-reply at jboss.com
Fri Mar 30 12:52:33 EDT 2007


I was using the version 1.1.0.GA.

To implement my Bussines logic i have made some think like this:      MyBaseAction(with some generic stuff)
   MyAction1 that extends MyBaseAction
        MyAction2 that extends MyAction1

But im my JSP file I always use #MyBaseAction.someMethod()     

For this to work I have to implement a new MyComponent that extends org.jboss.seam.Component and overide the method getBeanClass(). To resolve de bean class dynamic by URL.

When i upgrade to version 1.2.1.GA the method getBeanClass() was made final in the Class org.jboss.seam.Model.

Why this methods was made final? 
Is there another why to implement generic actions?

One important thing is that I want to keep all my EL like this #MyBaseAction.someMethod() and dynamic resolve the class of the MyBaseAction.

thanks...

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

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



More information about the jboss-user mailing list