You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@beehive.apache.org by "Kyle Marvin (JIRA)" <be...@incubator.apache.org> on 2005/02/28 16:26:48 UTC

[jira] Created: (BEEHIVE-371) Optimized PropertyMap deserialization

Optimized PropertyMap deserialization
-------------------------------------

         Key: BEEHIVE-371
         URL: http://issues.apache.org/jira/browse/BEEHIVE-371
     Project: Beehive
        Type: Improvement
  Components: Controls  
    Versions: V1Beta    
    Reporter: Kyle Marvin
    Priority: Minor
     Fix For: TBD


Controls may be persisted/restored using Java serialization or java.beans.XMLEncoder.  When this happens, there is generally a per-instance map that represents local instance state, which then delegates to a chain of property maps based upon a grouping of controls of a similar type (generally based upon the control interface or upon an annotated field declaration).  The delegate chain is used to represent values in external configuration or annotations, that does not need to be persisted on a per-instance basis.

In the current implementation, the entire chain is being persisted, although it is properly reassociated with shared state for annotated fields or types.   An optimization of this process would involve only serializing the first level (per-instance) map and enough information to reassociate with the delegate chain.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira