07-20-06 12:11 AM
Add servlet Filter utility class managing a PersistenceManager per request
--------------------------------------------------------------------------
Key: JDO-398
URL: http://issues.apache.org/jira/browse/JDO-398
Project: JDO
Issue Type: Task
Components: util20
Affects Versions: JDO 2 final
Reporter: Michael Bouschen
Assigned To: Michael Bouschen
Priority: Minor
Fix For: JDO 2 maintenance release 1
I propose to add a new class JDOFilter implementing a servlet filter (interf
ace javax.servlet.Filter) to a new package org.apache.jdo.util.web for web s
upport utility classes. The filter init method creates a PMF instance. Metho
d doFilter creates a Persis
tenceManager, stores it as a request attribute and then calls the filter cha
in. It closes the PersistenceManager after the chain returns. The PMF is clo
sed in the filter method destroy.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://iss
ues.apache.org/ji...nistrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[ Post a follow-up to this message ]
|