You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by sb...@apache.org on 2015/04/03 13:04:13 UTC
incubator-ignite git commit: fix MXBeans
Repository: incubator-ignite
Updated Branches:
refs/heads/ignite-dr-tests cbd8cac75 -> e749cc0fc
fix MXBeans
Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/e749cc0f
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/e749cc0f
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/e749cc0f
Branch: refs/heads/ignite-dr-tests
Commit: e749cc0fca65b01c1abdd5bc26bc7201be1d6307
Parents: cbd8cac
Author: Artem Shutak <as...@gridgain.com>
Authored: Fri Apr 3 14:04:13 2015 +0300
Committer: Artem Shutak <as...@gridgain.com>
Committed: Fri Apr 3 14:04:13 2015 +0300
----------------------------------------------------------------------
.../internal/processors/cache/GridCacheProcessor.java | 12 +++++-------
1 file changed, 5 insertions(+), 7 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/e749cc0f/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheProcessor.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheProcessor.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheProcessor.java
index 2619156..f21eabc 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheProcessor.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheProcessor.java
@@ -1013,6 +1013,11 @@ public class GridCacheProcessor extends GridProcessorAdapter {
validate(ctx.config(), cfg, cfgStore);
+ if (pluginMgr == null)
+ pluginMgr = new CachePluginManager(ctx, cfg);
+
+ pluginMgr.validate();
+
CacheJtaManagerAdapter jta = JTA.create(cfg.getTransactionManagerLookupClassName() == null);
jta.createTmLookup(cfg);
@@ -1045,15 +1050,8 @@ public class GridCacheProcessor extends GridProcessorAdapter {
CacheDataStructuresManager dataStructuresMgr = new CacheDataStructuresManager();
GridCacheTtlManager ttlMgr = new GridCacheTtlManager();
- if (pluginMgr == null)
- pluginMgr = new CachePluginManager(ctx, cfg);
-
- pluginMgr.validate();
-
CacheConflictResolutionManager rslvrMgr = pluginMgr.createComponent(CacheConflictResolutionManager.class);
-
GridCacheDrManager drMgr = pluginMgr.createComponent(GridCacheDrManager.class);
-
CacheStoreManager storeMgr = pluginMgr.createComponent(CacheStoreManager.class);
storeMgr.initialize(cfgStore, sesHolders);