ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Denis Magda (JIRA)" <j...@apache.org>
Subject [jira] [Created] (IGNITE-2603) OSGi support for objects passed through CacheConfiguration
Date Tue, 09 Feb 2016 17:20:18 GMT
Denis Magda created IGNITE-2603:
-----------------------------------

             Summary: OSGi support for objects passed through CacheConfiguration
                 Key: IGNITE-2603
                 URL: https://issues.apache.org/jira/browse/IGNITE-2603
             Project: Ignite
          Issue Type: Bug
    Affects Versions: 1.5.0.final
            Reporter: Denis Magda
            Assignee: Anton Vinogradov
             Fix For: 1.6


If a user sets a custom class loader with {{IgniteConfiguration.setClassLoader}} then it always
has to be used when the following objects passed to {{CacheConfiguration}} are being deserialized:

- CacheStore factory;
- CacheStoreSessionListener factory;
- CachePluginConfiguration;
- AffinityKeyMapper;
- IgnitePredicate (as a node filter in CacheConfiguration.setNodeFilter(...));
- CacheEntryListenerConfiguration class with factories for CacheEntryListener and CacheEntryEventFilter;

In case of OSGi class loaders can be quite exotic. As an example {{CacheStore}} factory loaded
from bundle A, can contain objects loaded from bundle B and bundle C. When such class loader
is set as {{IgniteConfiguration.setClassLoader}} then deserialization of the {{CacheStore}}
factory must work fine as well.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message