jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Boni Gopalan (JIRA)" <j...@apache.org>
Subject [jira] Commented: (JCR-1777) OCM:Test Cases that describe how to use OCM with with Spring Dependency Injection
Date Mon, 29 Sep 2008 08:42:44 GMT

    [ https://issues.apache.org/jira/browse/JCR-1777?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12635314#action_12635314

Boni Gopalan commented on JCR-1777:

I did not know about this sandbox project.  Practically people will be
using OCM from a dependency injected context.  I will review the project
you mentioned and get back to you.  My test case (and my application in
general) is not using spring module as we did not feel it was mature
enough.  So we are using OCM directly in a spring env.  Hence the
testcases are different in configuration and usage from a setup using
JcrTemplate.  Still we will be able to find an appropriate place in the
sandbox section.  Just as I was unaware there might people out there who
might be trying to integrate dependency injection and OCM.  I felt the
the testcases will provide pointers as to how to marry these two. 

> OCM:Test Cases that describe how to use OCM with with Spring  Dependency Injection
> ----------------------------------------------------------------------------------
>                 Key: JCR-1777
>                 URL: https://issues.apache.org/jira/browse/JCR-1777
>             Project: Jackrabbit
>          Issue Type: Test
>          Components: jackrabbit-ocm
>    Affects Versions: 1.5
>            Reporter: Boni Gopalan
>             Fix For: 1.5
>         Attachments: JCR-1777.bonigopalan.patch
> I have written two test cases that describe how to integrate and test OCM with Spring
framework.  As part of this change I added to bases Test Classes (AnnotationDigester) that
overrides the Repository initialization part of the AbstractTestBase.  Currently the test
cases are for Atomic Fields.  I have used the exact tests we are running now for Atomic. 
I will submit the patch.

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

View raw message