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 "Chetan Mehrotra (JIRA)" <ji...@apache.org> on 2017/01/16 06:16:26 UTC

[jira] [Commented] (OAK-5451) Make IndexTracker public to enable its use in non OSGi environment

    [ https://issues.apache.org/jira/browse/OAK-5451?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15823509#comment-15823509 ] 

Chetan Mehrotra commented on OAK-5451:
--------------------------------------

Did a change with 1778966. Let me know if that meets your requirements

> Make IndexTracker public to enable its use in non OSGi environment
> ------------------------------------------------------------------
>
>                 Key: OAK-5451
>                 URL: https://issues.apache.org/jira/browse/OAK-5451
>             Project: Jackrabbit Oak
>          Issue Type: Task
>          Components: lucene
>    Affects Versions: 1.4.10
>            Reporter: Volker Schmidt
>            Assignee: Chetan Mehrotra
>            Priority: Trivial
>             Fix For: 1.4.13
>
>
> Class IndexTracker is a package protected class that must be passed as an argument to LuceneIndexMBeanImpl. For OSGi environments the MBean LuceneIndexMBeanImpl is registered by LuceneIndexProviderService that is located in the same package like IndexTracker. For nin OSGi environments LuceneIndexMBeanImpl cannot be used, since class IndexTracker is not accessible (except by implementing workarounds). 
> Either class IndexTracker should be public or the constructor argument of LuceneIndexMBeanImpl should be LuceneIndexProvider.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)