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

Alexey Kazakov (JIRA) jira-events at lists.jboss.org
Tue Nov 13 06:19:44 EST 2007


    [ http://jira.jboss.com/jira/browse/JBIDE-1295?page=comments#action_12387235 ] 
            
Alexey Kazakov commented on JBIDE-1295:
---------------------------------------

Workaround: set Warning/Ignore for Preferences/JBoss Tools/Web/Seam/Validator/Component life-cycle methods

> 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