Skip to main content

[JIRA] Resolved: (SERVLET_SPEC-38) Listeners were not invoked in a random order prior to Servlet 3.0 spec

  • From: "Shing Wai Chan (JIRA)" <jira-no-reply@...>
  • To: issues@...
  • Subject: [JIRA] Resolved: (SERVLET_SPEC-38) Listeners were not invoked in a random order prior to Servlet 3.0 spec
  • Date: Mon, 30 Jul 2012 18:36:56 +0000 (GMT+00:00)
  • Auto-submitted: auto-generated


     [ 
http://java.net/jira/browse/SERVLET_SPEC-38?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Shing Wai Chan resolved SERVLET_SPEC-38.
----------------------------------------

    Resolution: Fixed

1. remove 1.6.1
2. Clarification in 8.2.3 (p.77) and 11.3.3

Sending        eod-pluggability.fm
Sending        events.fm
Sending        overview.fm
Sending        servletobjects.fm
Sending        status.fm
Transmitting file data .....
Committed revision 39.

> Listeners were not invoked in a random order prior to Servlet 3.0 spec
> ----------------------------------------------------------------------
>
>                 Key: SERVLET_SPEC-38
>                 URL: http://java.net/jira/browse/SERVLET_SPEC-38
>             Project: servlet-spec
>          Issue Type: Bug
>            Reporter: Christian Ludt
>            Assignee: Shing Wai Chan
>            Priority: Minor
>
> Section _1.6.1 Listener ordering_, a subsection of _1.6 Compatibility with 
> Java Servlet Specification Version 2.5_ states
> {quote}
> Prior to this release of the specification, listeners were invoked in a 
> random order. [...]
> {quote}
> However, the Servlet Specification Version 2.5 already specified on page 78 
> in _SRV.10.3.2 Deployment Declarations_, _SRV.10.3.3 Listener Registration_ 
> and _SRV.10.3.4 Notifications At Shutdown_ that the order is taken from the 
> deployment descriptor:
> {quote}
> *SRV.10.3.2 Deployment Declarations*
> [...] [Listener classes] are listed by class name in the order in which 
> they are to be invoked.
> {quote}
> {quote}
> *SRV.10.3.3 Listener Registration*
> The Web container registers the listener instances according to [...] 
> the order in which they appear in the deployment descriptor. During Web
> application execution, listeners are invoked in the order of their 
> registration.
> {quote}
> {quote}
> *SRV.10.3.4 Notifications At Shutdown*
> On application shutdown, listeners are notified in reverse order to their 
> declarations
> with notifications to session listeners preceeding notifications to context 
> listeners.
> Session listeners must be notified of session invalidations prior to 
> context listeners
> being notified of application shutdown.
> {quote}

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://java.net/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


[JIRA] Resolved: (SERVLET_SPEC-38) Listeners were not invoked in a random order prior to Servlet 3.0 spec

Shing Wai Chan (JIRA) 07/30/2012
 
 
Close
loading
Please Confirm
Close