ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vkuliche...@apache.org
Subject [29/55] [abbrv] incubator-ignite git commit: sprint-1 - Renaming.
Date Sun, 08 Feb 2015 07:55:46 GMT
sprint-1 - Renaming.


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

Branch: refs/heads/ignite-61
Commit: a4f0e7d1dcfa1f7e91811d1cf4e395373569adaf
Parents: 2cfcca0
Author: Dmitiry Setrakyan <dsetrakyan@gridgain.com>
Authored: Fri Feb 6 16:53:55 2015 -0800
Committer: Dmitiry Setrakyan <dsetrakyan@gridgain.com>
Committed: Fri Feb 6 16:53:55 2015 -0800

----------------------------------------------------------------------
 .../plugin/IgnitePluginProcessor.java           |  2 +-
 .../org/apache/ignite/plugin/Extension.java     | 25 +++++++++++++++
 .../apache/ignite/plugin/ExtensionRegistry.java | 32 ++++++++++++++++++++
 .../apache/ignite/plugin/IgniteExtension.java   | 25 ---------------
 .../ignite/plugin/IgniteExtensionRegistry.java  | 32 --------------------
 .../apache/ignite/plugin/PluginProvider.java    |  2 +-
 .../communication/MessageCallback.java          |  2 +-
 .../extensions/discovery/DiscoveryCallback.java |  2 +-
 8 files changed, 61 insertions(+), 61 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/a4f0e7d1/modules/core/src/main/java/org/apache/ignite/internal/processors/plugin/IgnitePluginProcessor.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/plugin/IgnitePluginProcessor.java
b/modules/core/src/main/java/org/apache/ignite/internal/processors/plugin/IgnitePluginProcessor.java
index 9c6dc0e..46227c0 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/processors/plugin/IgnitePluginProcessor.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/plugin/IgnitePluginProcessor.java
@@ -212,7 +212,7 @@ public class IgnitePluginProcessor extends GridProcessorAdapter {
     /**
      *
      */
-    private static class ExtensionRegistry implements IgniteExtensionRegistry {
+    private static class ExtensionRegistry implements org.apache.ignite.plugin.ExtensionRegistry
{
         /** */
         private final Map<Class<?>, List<Object>> extensionsCollector =
new HashMap<>();
 

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/a4f0e7d1/modules/core/src/main/java/org/apache/ignite/plugin/Extension.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/plugin/Extension.java b/modules/core/src/main/java/org/apache/ignite/plugin/Extension.java
new file mode 100644
index 0000000..cd6e479
--- /dev/null
+++ b/modules/core/src/main/java/org/apache/ignite/plugin/Extension.java
@@ -0,0 +1,25 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.ignite.plugin;
+
+/**
+ * Marker interface for extensions. Used to help find list of possible extensions.
+ */
+public interface Extension {
+    // No-op.
+}

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/a4f0e7d1/modules/core/src/main/java/org/apache/ignite/plugin/ExtensionRegistry.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/plugin/ExtensionRegistry.java b/modules/core/src/main/java/org/apache/ignite/plugin/ExtensionRegistry.java
new file mode 100644
index 0000000..1e9580d
--- /dev/null
+++ b/modules/core/src/main/java/org/apache/ignite/plugin/ExtensionRegistry.java
@@ -0,0 +1,32 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.ignite.plugin;
+
+/**
+ * Context that allows to register extensions.
+ */
+public interface ExtensionRegistry {
+    /**
+     * Registers extension provided by plugin.
+     *
+     * @param extensionItf Extension interface.
+     * @param extensionImpl Extension implementation.
+     * @param <T> Extension type.
+     */
+    public <T> void registerExtension(Class<T> extensionItf, T extensionImpl);
+}

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/a4f0e7d1/modules/core/src/main/java/org/apache/ignite/plugin/IgniteExtension.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/plugin/IgniteExtension.java b/modules/core/src/main/java/org/apache/ignite/plugin/IgniteExtension.java
deleted file mode 100644
index cb40356..0000000
--- a/modules/core/src/main/java/org/apache/ignite/plugin/IgniteExtension.java
+++ /dev/null
@@ -1,25 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.ignite.plugin;
-
-/**
- * Marker interface for extensions. Used to help find list of possible extensions.
- */
-public interface IgniteExtension {
-    // No-op.
-}

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/a4f0e7d1/modules/core/src/main/java/org/apache/ignite/plugin/IgniteExtensionRegistry.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/plugin/IgniteExtensionRegistry.java
b/modules/core/src/main/java/org/apache/ignite/plugin/IgniteExtensionRegistry.java
deleted file mode 100644
index 6463c08..0000000
--- a/modules/core/src/main/java/org/apache/ignite/plugin/IgniteExtensionRegistry.java
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.ignite.plugin;
-
-/**
- * Context that allows to register extensions.
- */
-public interface IgniteExtensionRegistry {
-    /**
-     * Registers extension provided by plugin.
-     *
-     * @param extensionItf Extension interface.
-     * @param extensionImpl Extension implementation.
-     * @param <T> Extension type.
-     */
-    public <T> void registerExtension(Class<T> extensionItf, T extensionImpl);
-}

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/a4f0e7d1/modules/core/src/main/java/org/apache/ignite/plugin/PluginProvider.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/plugin/PluginProvider.java b/modules/core/src/main/java/org/apache/ignite/plugin/PluginProvider.java
index 9e5bb2c..d70e429 100644
--- a/modules/core/src/main/java/org/apache/ignite/plugin/PluginProvider.java
+++ b/modules/core/src/main/java/org/apache/ignite/plugin/PluginProvider.java
@@ -58,7 +58,7 @@ public interface PluginProvider<C extends PluginConfiguration> {
      * @param ctx Plugin context.
      * @param registry Extension registry.
      */
-    public void initExtensions(PluginContext ctx, IgniteExtensionRegistry registry);
+    public void initExtensions(PluginContext ctx, ExtensionRegistry registry);
 
     /**
      * Starts grid component.

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/a4f0e7d1/modules/core/src/main/java/org/apache/ignite/plugin/extensions/communication/MessageCallback.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/plugin/extensions/communication/MessageCallback.java
b/modules/core/src/main/java/org/apache/ignite/plugin/extensions/communication/MessageCallback.java
index 7f8f205..c347858 100644
--- a/modules/core/src/main/java/org/apache/ignite/plugin/extensions/communication/MessageCallback.java
+++ b/modules/core/src/main/java/org/apache/ignite/plugin/extensions/communication/MessageCallback.java
@@ -25,7 +25,7 @@ import java.util.*;
 /**
  * Allows to patch message before sending or after reading.
  */
-public interface MessageCallback extends IgniteExtension {
+public interface MessageCallback extends Extension {
     /**
      * Writes delta for provided node and message type.
      *

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/a4f0e7d1/modules/core/src/main/java/org/apache/ignite/plugin/extensions/discovery/DiscoveryCallback.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/plugin/extensions/discovery/DiscoveryCallback.java
b/modules/core/src/main/java/org/apache/ignite/plugin/extensions/discovery/DiscoveryCallback.java
index 4feecf6..3ff848a 100644
--- a/modules/core/src/main/java/org/apache/ignite/plugin/extensions/discovery/DiscoveryCallback.java
+++ b/modules/core/src/main/java/org/apache/ignite/plugin/extensions/discovery/DiscoveryCallback.java
@@ -27,7 +27,7 @@ import java.util.*;
  *
  * TODO 9447: redesign.
  */
-public interface DiscoveryCallback extends IgniteExtension {
+public interface DiscoveryCallback extends Extension {
     /**
      * Handles node start.
      *


Mime
View raw message