[hibernate-issues] [Hibernate-JIRA] Created: (ANN-453) reflectionManager.seal()

Emmanuel Bernard (JIRA) noreply at atlassian.com
Fri Oct 13 15:14:24 EDT 2006


reflectionManager.seal()
------------------------

         Key: ANN-453
         URL: http://opensource.atlassian.com/projects/hibernate/browse/ANN-453
     Project: Hibernate Annotations
        Type: New Feature

  Components: binder  
    Reporter: Emmanuel Bernard
    Priority: Minor


Currently keeping a reference to an reflectionManager implementation can be expensive. Especially since the AnnotationReader can keep track of XML documents.
introducing a seal() method would allow the reflectionManager to get rid of everything bu it's cache.

Access to an entity not already accessed would raise an exception.

In most configuration case this should not be an issue though, since I expect the seal method to be called at the end of the configuration process. This keeps the runtime fast and memory efficient and still allow the benefits of the generic resolver.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira




More information about the hibernate-issues mailing list