You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by bu...@apache.org on 2004/04/16 05:00:48 UTC

DO NOT REPLY [Bug 28424] New: - [PATCH] Allow applications access to the start and end of a request

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=28424>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=28424

[PATCH] Allow applications access to the start and end of a request

           Summary: [PATCH] Allow applications access to the start and end
                    of a request
           Product: Cocoon 2
           Version: Current CVS 2.1
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: core
        AssignedTo: dev@cocoon.apache.org
        ReportedBy: Ralph_Goers@dslextreme.com


This patch modifies Cocoon.java to have it call a RequestListener before and
after a request if one is defined in Cocoon.xconf.  A sample RequestListener is
provided . The patch to Cocoon.java isn't the prettiest as I didn't want to put
something in the finally block that might cause an exception to get lost.