[
https://jira.jboss.org/jira/browse/DNA-400?page=com.atlassian.jira.plugin...
]
Brian Carothers updated DNA-400:
--------------------------------
Attachment: DNA-400.patch
Added patch that adds support for with(<Option>).setTo(<Value>) syntax for
JcrConfiguration and then converted InMemoryRepositoryStub to use
JcrEngine/JcrConfiguration.
The patch seems commitable to me, but suffers from two limitations that are worth review.
First, the with(<Option>) syntax is jammed in and only works immediately after the
using... method when adding a repository. Additionally, there was some fiddling around
going on while fixing the generic definitions to get the with(<Option>) clause to
work. These may be able to be done better.
JcrConfiguration Could Support Setting Options
----------------------------------------------
Key: DNA-400
URL:
https://jira.jboss.org/jira/browse/DNA-400
Project: DNA
Issue Type: Feature Request
Affects Versions: 0.4
Reporter: Brian Carothers
Priority: Minor
Fix For: 0.5
Attachments: DNA-400.patch
JcrConfiguration doesn't currently support setting the start-up options for
JcrRepositories. This is needed to convert InMemoryRepositoryStub over to the
configuration/engine architecture.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira