You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Dominique Pfister (JIRA)" <ji...@apache.org> on 2009/07/03 16:34:47 UTC

[jira] Created: (JCR-2184) Allow parsing custom elements in workspace config

Allow parsing custom elements in workspace config
-------------------------------------------------

                 Key: JCR-2184
                 URL: https://issues.apache.org/jira/browse/JCR-2184
             Project: Jackrabbit Content Repository
          Issue Type: Improvement
          Components: config
    Affects Versions: 2.0-alpha1
            Reporter: Dominique Pfister
            Assignee: Dominique Pfister
            Priority: Minor


In RepositoryConfigurationParser, most *Config elements can be extended in a derived class, e.g.

    public LoginModuleConfig parseLoginModuleConfig(Element security)

Unfortunately, parseWorkspaceConfig expects an InputSource. One should add a

    protected WorkspaceConfig parseWorkspaceConfig(Element root)

to allow returning a WorkspaceConfig derived class, without having to copy the entire implementation.

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


[jira] Resolved: (JCR-2184) Allow parsing custom elements in workspace config

Posted by "Dominique Pfister (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JCR-2184?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dominique Pfister resolved JCR-2184.
------------------------------------

    Resolution: Fixed

Fixed in revision 790930.

> Allow parsing custom elements in workspace config
> -------------------------------------------------
>
>                 Key: JCR-2184
>                 URL: https://issues.apache.org/jira/browse/JCR-2184
>             Project: Jackrabbit Content Repository
>          Issue Type: Improvement
>          Components: config
>    Affects Versions: 2.0-alpha1
>            Reporter: Dominique Pfister
>            Assignee: Dominique Pfister
>            Priority: Minor
>
> In RepositoryConfigurationParser, most *Config elements can be extended in a derived class, e.g.
>     public LoginModuleConfig parseLoginModuleConfig(Element security)
> Unfortunately, parseWorkspaceConfig expects an InputSource. One should add a
>     protected WorkspaceConfig parseWorkspaceConfig(Element root)
> to allow returning a WorkspaceConfig derived class, without having to copy the entire implementation.

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


[jira] Updated: (JCR-2184) Allow parsing custom elements in workspace config

Posted by "Jukka Zitting (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JCR-2184?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jukka Zitting updated JCR-2184:
-------------------------------

    Fix Version/s: 2.0-alpha8

> Allow parsing custom elements in workspace config
> -------------------------------------------------
>
>                 Key: JCR-2184
>                 URL: https://issues.apache.org/jira/browse/JCR-2184
>             Project: Jackrabbit Content Repository
>          Issue Type: Improvement
>          Components: config
>    Affects Versions: 2.0-alpha1
>            Reporter: Dominique Pfister
>            Assignee: Dominique Pfister
>            Priority: Minor
>             Fix For: 2.0-alpha8
>
>
> In RepositoryConfigurationParser, most *Config elements can be extended in a derived class, e.g.
>     public LoginModuleConfig parseLoginModuleConfig(Element security)
> Unfortunately, parseWorkspaceConfig expects an InputSource. One should add a
>     protected WorkspaceConfig parseWorkspaceConfig(Element root)
> to allow returning a WorkspaceConfig derived class, without having to copy the entire implementation.

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