[
https://issues.apache.org/jira/browse/IGNITE-15916?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17475311#comment-17475311
]
Kirill Tkalenko commented on IGNITE-15916:
------------------------------------------
I think this ticket can be postponed until it is needed, since the mechanism
with *any()* will have to be redone.
> "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: Kirill Tkalenko
> Priority: Minor
> Labels: ignite-3
> Time Spent: 10m
> Remaining Estimate: 0h
>
> 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)