[
https://issues.apache.org/jira/browse/GEODE-2836?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16013248#comment-16013248
]
ASF subversion and git services commented on GEODE-2836:
--------------------------------------------------------
Commit a2ddc61845cf8f47da82dd3c19f5b5a099ddd085 in geode's branch
refs/heads/develop from [~jstewart]
[ https://git-wip-us.apache.org/repos/asf?p=geode.git;h=a2ddc61 ]
GEODE-2836: CacheCallback now extends Declarable
> CacheLoader should extend Declarable
> ------------------------------------
>
> Key: GEODE-2836
> URL: https://issues.apache.org/jira/browse/GEODE-2836
> Project: Geode
> Issue Type: Improvement
> Components: configuration
> Reporter: Anthony Baker
> Assignee: Jared Stewart
> Fix For: 1.2.0
>
>
> In order to implement a {{CacheLoader}} that is usable from {{cache.xml}} the
> developer should also implement {{Declarable}}. It would be nice to make
> {{CacheLoader}} extend from {{Declarable}} with a default implementation for
> {{init}} to simplify this requirement.
> Note that this could be applied to all user callbacks like {{CacheListener}}
> and friends.
> If a developer does not implement {{Declarable}} and uses {{gfsh}} to add the
> callback to the region, it's possible to get a startup failure since the
> cluster config service uses {{cache.xml}} to persist config changes. This is
> BAD.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)