incubator-graffito-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christophe Lombart (JIRA)" <j...@apache.org>
Subject [jira] Created: (GRFT-51) Review the PersistenceManager API
Date Tue, 13 Sep 2005 22:09:54 GMT
Review the PersistenceManager API
---------------------------------

         Key: GRFT-51
         URL: http://issues.apache.org/jira/browse/GRFT-51
     Project: Graffito
        Type: Improvement
  Components: JCR-Mapping  
    Reporter: Christophe Lombart
     Fix For: 1.0-a1-dev


>From Oliver : 

First of all,the Persistence Manager looks fine to me except that I am not sure if it should
contain the methods setupRepository(), getRepository(), getSession(), getUser(), setJcrCustomNodeTypeCreator()
and getJcrCustomNodeTypeCreator() because they allow direct access to the underlying JCR API
and the JCR repository itself. I believe the PersistenceManager should avoid allowing methods
that circumvent the use of the graffito object persistence mechanism. These methods would
be better off somewhere else.

-- 
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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message