You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Roman Puchkovskiy (Jira)" <ji...@apache.org> on 2021/11/22 10:03:00 UTC

[jira] [Assigned] (IGNITE-15916) "Any" listeners do not get notified for subclass-specific keys in Polymorphic Configurations

     [ https://issues.apache.org/jira/browse/IGNITE-15916?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Roman Puchkovskiy reassigned IGNITE-15916:
------------------------------------------

    Assignee: Roman Puchkovskiy

> "Any" listeners do not get notified for subclass-specific keys in Polymorphic Configurations
> --------------------------------------------------------------------------------------------
>
>                 Key: IGNITE-15916
>                 URL: https://issues.apache.org/jira/browse/IGNITE-15916
>             Project: Ignite
>          Issue Type: Bug
>            Reporter: Aleksandr Polovtcev
>            Assignee: Roman Puchkovskiy
>            Priority: Minor
>              Labels: ignite-3
>
> Polymorphic configuration allows having multiple inheritors of a base schema. There also exists a feature that allows to add listeners for changes to "any" configuration keys. This is implemented using a dummy configuration inside the generated classes, where all such listeners get registered. However, this does not work for Polymorphic schemas, because there's no way to know the full set of configuration keys in advance, since the actual type of a Polymorphic configuration instance is not known at the start. This leads to a limitation: changes to subclass-specific keys are not propagated to "any" listeners. 



--
This message was sent by Atlassian Jira
(v8.20.1#820001)