cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jean-Baptiste Quenot (JIRA)" <>
Subject [jira] Closed: (COCOON-1712) Speedup loading of profiles
Date Mon, 12 Dec 2005 13:28:48 GMT
     [ ]
Jean-Baptiste Quenot closed COCOON-1712:

    Resolution: Duplicate

> Speedup loading of profiles
> ---------------------------
>          Key: COCOON-1712
>          URL:
>      Project: Cocoon
>         Type: Improvement
>   Components: Blocks: Portal
>     Versions: 2.1.9-dev (current SVN)
>     Reporter: Jean-Baptiste Quenot
>  Attachments: 20051212-portal-MapProfileLS
> When loading profiles (using eg AuthenticationProfileManager) portal parses the profiles
using Castor, and this can be very slow.  The attached patch caches the result in a HashMap
for subsequent invocations to avoid loading them every time.  Note that the key of the object
in the map is source.getURI(), which may be different from the variable "uri" as resolveURI()
may return the same result for different values of "uri".
> This bug depends on Allow CopletInstanceDataManager
to be cloneable, because coplet instances are cloned to ensure that every user gets its own
copy of the coplets.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message