You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@chemistry.apache.org by "Dominique Pfister (JIRA)" <ji...@apache.org> on 2010/03/19 11:33:27 UTC
[jira] Resolved: (CMIS-166) Allow CMISServlet to get repository
after instance creation
[ https://issues.apache.org/jira/browse/CMIS-166?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dominique Pfister resolved CMIS-166.
------------------------------------
Resolution: Fixed
I added the new overridable getRepository() as suggested.
Fixed in revision 925167.
> Allow CMISServlet to get repository after instance creation
> -----------------------------------------------------------
>
> Key: CMIS-166
> URL: https://issues.apache.org/jira/browse/CMIS-166
> Project: Chemistry
> Issue Type: Bug
> Components: chemistry-atompub
> Reporter: Dominique Pfister
> Assignee: Dominique Pfister
>
> The RepositoryFactory class, introduced in CMIS-12, is no longer available. Therefore, it is not possible to use CMISServlet with the default constructor, because the private createRepository() method will always throw an UnsupportedOperationException.
> I'd like to replace this mechanism by a protected getRepository() method that will simply return the repository instance member, allowing derived classes to actually create the repository at that point if needed.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.