You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Jukka Zitting (JIRA)" <ji...@apache.org> on 2012/10/19 18:00:11 UTC

[jira] [Resolved] (OAK-352) Oak builder for simplified repository construction

     [ https://issues.apache.org/jira/browse/OAK-352?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jukka Zitting resolved OAK-352.
-------------------------------

       Resolution: Fixed
    Fix Version/s: 0.6

This is pretty much done now, see http://markmail.org/message/h74ssqw5xkyb7hko for instructions.
                
> Oak builder for simplified repository construction
> --------------------------------------------------
>
>                 Key: OAK-352
>                 URL: https://issues.apache.org/jira/browse/OAK-352
>             Project: Jackrabbit Oak
>          Issue Type: New Feature
>          Components: core
>            Reporter: Jukka Zitting
>            Assignee: Jukka Zitting
>            Priority: Minor
>             Fix For: 0.6
>
>
> I'd like to add a builder class called {{Oak}} for simplifying the construction of {{ContentRepository}} instances with a given set of plugins. The builder would work something like this:
> {code}
> MicroKernel kernel = ...;
> ContentRepository contentRepository = new Oak(kernel)
>     .with(new DefaultTypeEditor())
>     .with(new NameValidatorProvider())
>     .with(new TypeValidatorProvider())
>     .with(new LuceneHook())
>     .createContentRepository();
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira