[infinispan-issues] [JBoss JIRA] (ISPN-9592) Lockdown query internals

Adrian Nistor (Jira) issues at jboss.org
Mon Oct 8 08:16:00 EDT 2018


     [ https://issues.jboss.org/browse/ISPN-9592?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Adrian Nistor updated ISPN-9592:
--------------------------------
    Description: 
Many things in query implementation are left public although they are very prone to creating insidious bugs if accessed externally. These are not proper extension points and should be made package local or provided strictly via SearchManagerImplementor.

* Move SearchManager.purge(Class) method to SearchManagerImplementor
* DefaultSearchWorkCreator should be moved to  org.infinispan.query.backend and made package local
* TransactionalEventTransactionContext is not used, can be removed, and its non-tx counterpart (NoTransactionContext) no longer has to be public
* all public methods in QueryInterceptor must be reviewed and made package local ASAP

  was:Many things in query implementation are left public although they are very prone to creating insidious bugs if accessed externally. These are not proper extension points and should be made package local or provided strictly via SearchManagerImplementor.



> Lockdown query internals
> ------------------------
>
>                 Key: ISPN-9592
>                 URL: https://issues.jboss.org/browse/ISPN-9592
>             Project: Infinispan
>          Issue Type: Task
>            Reporter: Adrian Nistor
>            Assignee: Adrian Nistor
>            Priority: Major
>
> Many things in query implementation are left public although they are very prone to creating insidious bugs if accessed externally. These are not proper extension points and should be made package local or provided strictly via SearchManagerImplementor.
> * Move SearchManager.purge(Class) method to SearchManagerImplementor
> * DefaultSearchWorkCreator should be moved to  org.infinispan.query.backend and made package local
> * TransactionalEventTransactionContext is not used, can be removed, and its non-tx counterpart (NoTransactionContext) no longer has to be public
> * all public methods in QueryInterceptor must be reviewed and made package local ASAP



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the infinispan-issues mailing list