[
https://issues.apache.org/jira/browse/DIRSERVER-1672?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13131972#comment-13131972
]
Göktürk Gezer commented on DIRSERVER-1672:
------------------------------------------
Hi Pierre,
Sorry, i guess i patched it so unstable. Now it is fixed. I removed the old
patch and attached a new one. Apply it from scratch to the apacheds-osgi-branch.
With that patch. You don't have to post-load the apacheds-service-osgi, you can
directly invoke ApacheDS-OSGI.launcher. Its config is refreshed for coping with
that post-load problem. DefaultSchemaManager is reverted back to its orginal
version and new OSGISchemaManager is created. Just put breakpoint on
OSGISchemaManager.addComparators() method and see if it gets correct
LdapComparator references in each iteration. You can also launch old
apacheds-service, because DefaultSchemaManager is reverted back to its
originial. It still works as standalone application.
> Making Comparators extendable
> -----------------------------
>
> Key: DIRSERVER-1672
> URL: https://issues.apache.org/jira/browse/DIRSERVER-1672
> Project: Directory ApacheDS
> Issue Type: Improvement
> Affects Versions: 2.0.0-M4
> Reporter: Göktürk Gezer
> Labels: apacheds, osgi, shared
> Fix For: 2.0.0-M4
>
> Attachments: comparator_extension.diff
>
>
> To provide 3th parties an ability to write their own schema elements, the
> first part is making LdapComparators pluggable to shared-ldap-model. And
> existing clients must be preserved as well.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira