jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcel Reutegger (JIRA)" <j...@apache.org>
Subject [jira] Updated: (JCR-2280) Lazy initialize ItemDefinition
Date Wed, 26 Aug 2009 15:21:59 GMT

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

Marcel Reutegger updated JCR-2280:

    Attachment: JCR-2280.patch

Proposed changes.

> Lazy initialize ItemDefinition
> ------------------------------
>                 Key: JCR-2280
>                 URL: https://issues.apache.org/jira/browse/JCR-2280
>             Project: Jackrabbit Content Repository
>          Issue Type: Improvement
>          Components: jackrabbit-core
>            Reporter: Marcel Reutegger
>            Priority: Minor
>         Attachments: JCR-2280.patch
> The item definition is currently set immediately when an ItemData is instantiated. Accessing
nodes usually does not require reading the item definition, thus it is not necessary to load/set
it that early.
> Lazy initialization also has the benefit that content migration in an upgrade scenario
becomes easier. Instead of throwing an exception early, jackrabbit could allow access to the
item until an item definition is really required for the operation.

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

View raw message