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.BETA1
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