[jbosstools-issues] [JBoss JIRA] Reopened: (JBIDE-1295) Allow @Destroy annotated methods in abstract Pojos
Alexey Kazakov (JIRA)
jira-events at lists.jboss.org
Tue Dec 11 13:43:51 EST 2007
[ http://jira.jboss.com/jira/browse/JBIDE-1295?page=all ]
Alexey Kazakov reopened JBIDE-1295:
-----------------------------------
Assignee: Viacheslav Kabanovich (was: Alexey Kazakov)
Slava please verify this issue.
Try Andy's example. (see screenshot-1.jpg)
> Allow @Destroy annotated methods in abstract Pojos
> --------------------------------------------------
>
> Key: JBIDE-1295
> URL: http://jira.jboss.com/jira/browse/JBIDE-1295
> Project: JBoss Tools
> Issue Type: Feature Request
> Components: Seam
> Environment: JBoss Tools nightly from 11/11/2007, Win XP SP2, JBoss 4.2.2, Seam 2.0 project , Eclipse 3.3.1.1
> Reporter: Andy Gibson
> Assigned To: Viacheslav Kabanovich
> Priority: Minor
> Fix For: 2.0.0.GA
>
> Attachments: screenshot-1.jpg
>
>
> It would be nice if we could create abstract classes with a @Destroy annotated method. While it appears possible to do this, the IDE complains that only components can have a @Destroy method, which is correct, but the class is abstract and will be subclassed as a component elsewhere. I think it will compile, deploy and run, but it puts several lines of red squiggles in the code which is distracting.
> I'm requesting that the class be allowed to pass the validation if it is marked as abstract.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list