[jbosstools-issues] [JBoss JIRA] Updated: (JBIDE-1295) Allow @Destroy annotated methods in abstract Pojos
Andy Gibson (JIRA)
jira-events at lists.jboss.org
Tue Dec 11 13:26:51 EST 2007
[ http://jira.jboss.com/jira/browse/JBIDE-1295?page=all ]
Andy Gibson updated JBIDE-1295:
-------------------------------
Attachment: screenshot-1.jpg
I'm still getting this error message in the latest development build.
I just downloaded and installed nightly build JBossTools-200712110813-nightly-ALL-win32.zip which is where this screenshot was taken from.
I'm just letting you know in case it ended up in Developer Studio V1.
> 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
> 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