[infinispan-issues] [JBoss JIRA] Updated: (ISPN-1004) Lifecycle manager for plugin module is invoked twice per cache initialization on cacheStarting

Manik Surtani (JIRA) jira-events at lists.jboss.org
Fri May 20 05:09:03 EDT 2011


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

Manik Surtani updated ISPN-1004:
--------------------------------

    Fix Version/s: 5.0.0.CR4
                       (was: 5.0.0.CR3)


> Lifecycle manager for plugin module is invoked twice per cache initialization on cacheStarting
> ----------------------------------------------------------------------------------------------
>
>                 Key: ISPN-1004
>                 URL: https://issues.jboss.org/browse/ISPN-1004
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Core API, Querying
>            Reporter: Sanne Grinovero
>            Assignee: Mircea Markus
>             Fix For: 5.0.0.CR4
>
>
> In the search module the org.infinispan.query.impl.LifecycleManager is registered via the infinispan-module.properties, but the method
> {code}org.infinispan.query.impl.LifecycleManager.cacheStarting(ComponentRegistry, Configuration, String){code}
> Is invoked twice for each cache initialization.
> The implementation needs to register an interceptor, and some objects in the componentregistry. The tricky part is that some of these components are overwritten, some are not, leading to an inconsistent initialization (Query was made useless).
> I'm working around this in Query to register my needed components only if they're not already, but this is inconsistent as well as I might need to reconfigure it.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the infinispan-issues mailing list