[infinispan-issues] [JBoss JIRA] (ISPN-9627) Removing a listener after cache manager stop throws an exception
Paul Ferraro (Jira)
issues at jboss.org
Mon Oct 22 10:56:00 EDT 2018
[ https://issues.jboss.org/browse/ISPN-9627?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13651241#comment-13651241 ]
Paul Ferraro commented on ISPN-9627:
------------------------------------
I understand the reasoning - I only pointed this out as an issue of compatibility. Note that previously, listener registration was also allowed prior to starting the cache manager.
> Removing a listener after cache manager stop throws an exception
> ----------------------------------------------------------------
>
> Key: ISPN-9627
> URL: https://issues.jboss.org/browse/ISPN-9627
> Project: Infinispan
> Issue Type: Bug
> Components: Core
> Affects Versions: 9.4.0.Final
> Reporter: Dan Berindei
> Assignee: Dan Berindei
> Priority: Major
> Fix For: 9.4.1.Final
>
>
> {{DefaultCacheManager.removeListener()}} needs the {{CacheManagerNotifier}} component and fails if the component can't be accessed, e.g. because the manager is stopped. Since listeners are removed automatically on stop, a {{DefaultCacheManager.removeListener()}} call after stop should be a no-op.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
More information about the infinispan-issues
mailing list