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/14 08:49:26 UTC

[jira] [Assigned] (OAK-5451) Class IndexTracker should not be package protected since LuceneIndexMBeanImpl cannot be used in non OSGi configurations

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

Chetan Mehrotra reassigned OAK-5451:
------------------------------------

    Assignee: Chetan Mehrotra

> Class IndexTracker should not be package protected since LuceneIndexMBeanImpl cannot be used in non OSGi configurations
> -----------------------------------------------------------------------------------------------------------------------
>
>                 Key: OAK-5451
>                 URL: https://issues.apache.org/jira/browse/OAK-5451
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: lucene
>    Affects Versions: 1.4.10
>            Reporter: Volker Schmidt
>            Assignee: Chetan Mehrotra
>            Priority: Minor
>
> 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)