[ 
https://issues.apache.org/jira/browse/TRINIDAD-1191?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Matthias Weßendorf updated TRINIDAD-1191:
-----------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.0.10-core
                   1.2.10-core
         Assignee: Matthias Weßendorf
           Status: Resolved  (was: Patch Available)

> Delayed loading of renderers to facilitate faster start up time 
> ----------------------------------------------------------------
>
>                 Key: TRINIDAD-1191
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1191
>             Project: MyFaces Trinidad
>          Issue Type: Improvement
>            Reporter: Ari hadi
>            Assignee: Matthias Weßendorf
>             Fix For: 1.2.10-core, 1.0.10-core
>
>         Attachments: 1191-patch.patch
>
>   Original Estimate: 168h
>  Remaining Estimate: 168h
>
> Trinidad's RenderKitBase class has support for optimized loading of renderer. 
>  Class loading optimization will lazily loads renderers and reduces the 
> loading time when the RenderKit is initialized.   This is particularly 
> important when the RenderKit is initialized when starting a J2EE container to 
> debug a JSF application in a development environment.   In our experience, 
> lazily loading renderers during the start of a debug/run cycle can cut the 
> startup time by 20%.
> Renderers that are listed in the RenderKit-specific config file will be 
> loaded lazily, e.g. META-INF/rich.renderkit. The renderers in It should have 
> the format
> "[component family]|[renderer type]=[Renderer class]"
> Right now, RenderKitBase will only look for one copy of the 
> renderkit-specific config file. We should be able to tweak this code to grab 
> all files found at the path instead of just one (provided in the patch).  
> This will allow any other custom component developers to lazily load their 
> Renderers by providing their own mapping file.
> We have done more tests to verify the lazy renderer works to load other 
> custom components.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to