DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=38321>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=38321 ------- Additional Comments From [EMAIL PROTECTED] 2006-02-05 04:26 ------- (In reply to comment #3) > (In reply to comment #2) > > Hmm ... a lot of the reading I've done lately says declaring manifest > > constants > > in an interface is an antipattern because it creates a leaky abstraction. > > What > > ah, ok I see. Well I am using (until now ;)) interfaces for kind of this. > So, that is the reason for UIcomponent is an abstract class? > > > is the motivation for this? > > I was reading the source, so I *easily* changed ;) > > ok, I closed it :-) (In reply to comment #3) > (In reply to comment #2) > > Hmm ... a lot of the reading I've done lately says declaring manifest > > constants > > in an interface is an antipattern because it creates a leaky abstraction. > > What > > ah, ok I see. Well I am using (until now ;)) interfaces for kind of this. > So, that is the reason for UIcomponent is an abstract class? > Actually, that was done for a different reason. Consider what would have happened if we had just defined UIComponent (an interface) but not UIComponentBase (an abstract class). Now, assume that JSF 1.2 wanted to add some additional methods to UIComponent. This would break every single third party component in the world -- not a good thing. That's why nearly all of the APIs in JavaServer Faces are abstract classes rather than interfaces. > > is the motivation for this? > > I was reading the source, so I *easily* changed ;) > > ok, I closed it :-) -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]