[
https://issues.apache.org/jira/browse/SLING-3450?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Carsten Ziegeler resolved SLING-3450.
-------------------------------------
Resolution: Fixed
Fixed by making sure that instanceof tests work. Instead of relying on the
resource being the right one, it fetches the resource from the provider again
if necessary, making sure the instance has the correct type
> JMX Resource Provider should not use instanceof checks
> ------------------------------------------------------
>
> Key: SLING-3450
> URL: https://issues.apache.org/jira/browse/SLING-3450
> Project: Sling
> Issue Type: Bug
> Components: Extensions
> Affects Versions: JMX Resource Provider 1.0.0
> Reporter: Carsten Ziegeler
> Assignee: Carsten Ziegeler
> Fix For: JMX Resource Provider 1.0.2
>
>
> The current implementation does instanceof checks for resources do detect
> which resource to create. This works as long as there is no resource
> decorator but fails as soon as there is one.
--
This message was sent by Atlassian JIRA
(v6.2#6252)