Repository: ignite
Updated Branches:
  refs/heads/ignite-3477-merge2.0 2333c6649 -> b1f21d0de


Merge remote-tracking branch 'remotes/origin/ignite-2.0' into 
ignite-3477-merge2.0


Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/b1f21d0d
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/b1f21d0d
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/b1f21d0d

Branch: refs/heads/ignite-3477-merge2.0
Commit: b1f21d0dec321978e4d753938765cfa352de2247
Parents: 2333c66
Author: sboikov <sboi...@gridgain.com>
Authored: Thu Feb 16 11:46:05 2017 +0300
Committer: sboikov <sboi...@gridgain.com>
Committed: Thu Feb 16 11:46:05 2017 +0300

----------------------------------------------------------------------
 .../p2p/CacheDeploymentCachePluginConfiguration.java   | 13 +++++++++++--
 1 file changed, 11 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/b1f21d0d/modules/extdata/p2p/src/main/java/org/apache/ignite/tests/p2p/CacheDeploymentCachePluginConfiguration.java
----------------------------------------------------------------------
diff --git 
a/modules/extdata/p2p/src/main/java/org/apache/ignite/tests/p2p/CacheDeploymentCachePluginConfiguration.java
 
b/modules/extdata/p2p/src/main/java/org/apache/ignite/tests/p2p/CacheDeploymentCachePluginConfiguration.java
index 2a56fc1..610b9de 100644
--- 
a/modules/extdata/p2p/src/main/java/org/apache/ignite/tests/p2p/CacheDeploymentCachePluginConfiguration.java
+++ 
b/modules/extdata/p2p/src/main/java/org/apache/ignite/tests/p2p/CacheDeploymentCachePluginConfiguration.java
@@ -21,6 +21,7 @@ import org.apache.ignite.IgniteCheckedException;
 import org.apache.ignite.cluster.ClusterNode;
 import org.apache.ignite.configuration.CacheConfiguration;
 import org.apache.ignite.plugin.CachePluginConfiguration;
+import org.apache.ignite.plugin.CachePluginContext;
 import org.apache.ignite.plugin.CachePluginProvider;
 import org.jetbrains.annotations.Nullable;
 
@@ -30,6 +31,14 @@ import javax.cache.Cache;
  * Test cache plugin configuration for cache deployment tests.
  */
 public class CacheDeploymentCachePluginConfiguration<K, V> implements 
CachePluginConfiguration<K, V> {
+    /** {@inheritDoc} */
+    @Override public CachePluginProvider createProvider(CachePluginContext 
ctx) {
+        return new CacheDeploymentCachePluginProvider();
+    }
+
+    /**
+     *
+     */
     private static class CacheDeploymentCachePluginProvider implements 
CachePluginProvider {
         /** {@inheritDoc} */
         @Nullable @Override public Object createComponent(Class cls) {
@@ -67,8 +76,8 @@ public class CacheDeploymentCachePluginConfiguration<K, V> 
implements CachePlugi
         }
 
         /** {@inheritDoc} */
-        @Override public void validateRemote(CacheConfiguration locCfg, 
CacheConfiguration rmtCfg,
-            ClusterNode rmtNode) throws IgniteCheckedException {
+        @Override public void validateRemote(CacheConfiguration locCfg, 
CachePluginConfiguration locPluginCcfg,
+            CacheConfiguration rmtCfg, ClusterNode rmtNode) throws 
IgniteCheckedException {
 
         }
     }

Reply via email to