[jbosstools-issues] [JBoss JIRA] Created: (JBIDE-1295) Allow @Destroy annotated methods in abstract Pojos

Andy Gibson (JIRA) jira-events at lists.jboss.org
Mon Nov 12 14:29:44 EST 2007


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


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