[jbosstools-issues] [JBoss JIRA] Updated: (JBIDE-1295) Allow @Destroy annotated methods in abstract Pojos
Max Andersen (JIRA)
jira-events at lists.jboss.org
Mon Nov 12 16:39:44 EST 2007
[ http://jira.jboss.com/jira/browse/JBIDE-1295?page=all ]
Max Andersen updated JBIDE-1295:
--------------------------------
Assignee: Alexey Kazakov
Alexey - wasn't this fixed for/via http://jira.jboss.com/jira/browse/JBIDE-794 ?
> 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: Alexey Kazakov
>
> 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