This content has been marked as final.
Show 2 replies
-
1. Re: Abstract EJB superclass
bill.burke Oct 15, 2004 8:39 AM (in response to igorfie)Leave @Stateless off of the superclass and tag the subclasses. That should work.
The fix is easy. Javassist should be able to tell whether the class is abstract or not. -
2. Re: Abstract EJB superclass
bill.burke Oct 15, 2004 8:47 AM (in response to igorfie)....continuing....
Actually, you're right, I don't see a easy fix for this and it would slow down deployment as for every class, I would have to look at their superclasses to determine if they were tagged as @Stateless.
BTW, @Stateless is not an inheritable annotation so I don't think this usecase would be allowed by the specification.
Bill