[JBoss JIRA] (ISPN-10620) BasicComponentRegistryImpl.getMBeanMetadata discards overloaded operations and does not prevent overriding
by Nistor Adrian (Jira)
[ https://issues.jboss.org/browse/ISPN-10620?page=com.atlassian.jira.plugin... ]
Nistor Adrian updated ISPN-10620:
---------------------------------
Description:
The operations are held in a map keyed by name, so some overloaded operations like DefaultCahcheManager.startCache() and DefaultCahcheManager.startCache(String cacheName) are basically discarded unintentionally.
Also, it should detect and prevent overriding annotations.
was:
The operations are held in a map keyed by name, so some overloaded operations like DefaultCahcheManager.startCache() and DefaultCahcheManager.startCache(String cacheName) are basically discarded unintentionally.
Also, the order of processing superclasses is wrong (reversed), so eventually overwritten operations are not correctly processed. The one in the superclass wins, so the overwrite is basically ignored.
> BasicComponentRegistryImpl.getMBeanMetadata discards overloaded operations and does not prevent overriding
> ----------------------------------------------------------------------------------------------------------
>
> Key: ISPN-10620
> URL: https://issues.jboss.org/browse/ISPN-10620
> Project: Infinispan
> Issue Type: Bug
> Components: JMX, reporting and management
> Affects Versions: 10.0.0.CR1
> Reporter: Nistor Adrian
> Assignee: Nistor Adrian
> Priority: Major
> Fix For: 10.0.0.CR3
>
>
> The operations are held in a map keyed by name, so some overloaded operations like DefaultCahcheManager.startCache() and DefaultCahcheManager.startCache(String cacheName) are basically discarded unintentionally.
> Also, it should detect and prevent overriding annotations.
--
This message was sent by Atlassian Jira
(v7.13.5#713005)
6 years, 6 months
[JBoss JIRA] (ISPN-10620) BasicComponentRegistryImpl.getMBeanMetadata discards overloaded operations and does not prevent overriding annotations
by Nistor Adrian (Jira)
[ https://issues.jboss.org/browse/ISPN-10620?page=com.atlassian.jira.plugin... ]
Nistor Adrian updated ISPN-10620:
---------------------------------
Summary: BasicComponentRegistryImpl.getMBeanMetadata discards overloaded operations and does not prevent overriding annotations (was: BasicComponentRegistryImpl.getMBeanMetadata discards overloaded operations and does not prevent overriding)
> BasicComponentRegistryImpl.getMBeanMetadata discards overloaded operations and does not prevent overriding annotations
> ----------------------------------------------------------------------------------------------------------------------
>
> Key: ISPN-10620
> URL: https://issues.jboss.org/browse/ISPN-10620
> Project: Infinispan
> Issue Type: Bug
> Components: JMX, reporting and management
> Affects Versions: 10.0.0.CR1
> Reporter: Nistor Adrian
> Assignee: Nistor Adrian
> Priority: Major
> Fix For: 10.0.0.CR3
>
>
> The operations are held in a map keyed by name, so some overloaded operations like DefaultCahcheManager.startCache() and DefaultCahcheManager.startCache(String cacheName) are basically discarded unintentionally.
> Also, it should detect and prevent overriding annotations.
--
This message was sent by Atlassian Jira
(v7.13.5#713005)
6 years, 6 months
[JBoss JIRA] (ISPN-10620) BasicComponentRegistryImpl.getMBeanMetadata discards overloaded operations and does not prevent overriding
by Nistor Adrian (Jira)
[ https://issues.jboss.org/browse/ISPN-10620?page=com.atlassian.jira.plugin... ]
Nistor Adrian updated ISPN-10620:
---------------------------------
Summary: BasicComponentRegistryImpl.getMBeanMetadata discards overloaded operations and does not prevent overriding (was: BasicComponentRegistryImpl.getMBeanMetadata discards overloaded operations and ignores overwriting)
> BasicComponentRegistryImpl.getMBeanMetadata discards overloaded operations and does not prevent overriding
> ----------------------------------------------------------------------------------------------------------
>
> Key: ISPN-10620
> URL: https://issues.jboss.org/browse/ISPN-10620
> Project: Infinispan
> Issue Type: Bug
> Components: JMX, reporting and management
> Affects Versions: 10.0.0.CR1
> Reporter: Nistor Adrian
> Assignee: Nistor Adrian
> Priority: Major
> Fix For: 10.0.0.CR3
>
>
> The operations are held in a map keyed by name, so some overloaded operations like DefaultCahcheManager.startCache() and DefaultCahcheManager.startCache(String cacheName) are basically discarded unintentionally.
> Also, the order of processing superclasses is wrong (reversed), so eventually overwritten operations are not correctly processed. The one in the superclass wins, so the overwrite is basically ignored.
--
This message was sent by Atlassian Jira
(v7.13.5#713005)
6 years, 6 months