You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stratos.apache.org by is...@apache.org on 2014/09/16 17:19:04 UTC
git commit: renaming a class: SubscribableBehavior to ParentBehavior
Repository: stratos
Updated Branches:
refs/heads/4.0.0-grouping ea9f4042e -> 6f5dc14ca
renaming a class: SubscribableBehavior to ParentBehavior
Project: http://git-wip-us.apache.org/repos/asf/stratos/repo
Commit: http://git-wip-us.apache.org/repos/asf/stratos/commit/6f5dc14c
Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/6f5dc14c
Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/6f5dc14c
Branch: refs/heads/4.0.0-grouping
Commit: 6f5dc14ca23c87a6da4e487650b5f9c2b8ef539a
Parents: ea9f404
Author: Isuru Haththotuwa <is...@apache.org>
Authored: Tue Sep 16 19:57:20 2014 +0530
Committer: Isuru Haththotuwa <is...@apache.org>
Committed: Tue Sep 16 19:57:20 2014 +0530
----------------------------------------------------------------------
.../messaging/domain/topology/Application.java | 2 +-
.../messaging/domain/topology/Group.java | 2 +-
.../domain/topology/ParentBehavior.java | 47 ++++++++++++++++++++
.../domain/topology/SubscribableBehavior.java | 47 --------------------
4 files changed, 49 insertions(+), 49 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/stratos/blob/6f5dc14c/components/org.apache.stratos.messaging/src/main/java/org/apache/stratos/messaging/domain/topology/Application.java
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.messaging/src/main/java/org/apache/stratos/messaging/domain/topology/Application.java b/components/org.apache.stratos.messaging/src/main/java/org/apache/stratos/messaging/domain/topology/Application.java
index 2d53833..1af8e3e 100644
--- a/components/org.apache.stratos.messaging/src/main/java/org/apache/stratos/messaging/domain/topology/Application.java
+++ b/components/org.apache.stratos.messaging/src/main/java/org/apache/stratos/messaging/domain/topology/Application.java
@@ -25,7 +25,7 @@ import java.util.Collection;
import java.util.HashMap;
import java.util.Map;
-public class Application implements SubscribableBehavior {
+public class Application implements ParentBehavior {
private static final long serialVersionUID = -5092959597171649688L;
// Unique id for the Application, defined in Application Definition
http://git-wip-us.apache.org/repos/asf/stratos/blob/6f5dc14c/components/org.apache.stratos.messaging/src/main/java/org/apache/stratos/messaging/domain/topology/Group.java
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.messaging/src/main/java/org/apache/stratos/messaging/domain/topology/Group.java b/components/org.apache.stratos.messaging/src/main/java/org/apache/stratos/messaging/domain/topology/Group.java
index fd13970..1d5244e 100644
--- a/components/org.apache.stratos.messaging/src/main/java/org/apache/stratos/messaging/domain/topology/Group.java
+++ b/components/org.apache.stratos.messaging/src/main/java/org/apache/stratos/messaging/domain/topology/Group.java
@@ -23,7 +23,7 @@ import java.util.Collection;
import java.util.HashMap;
import java.util.Map;
-public class Group implements SubscribableBehavior {
+public class Group implements ParentBehavior {
private static final long serialVersionUID = 8347096598203655846L;
// Name of the Group, specified in Group Definition
http://git-wip-us.apache.org/repos/asf/stratos/blob/6f5dc14c/components/org.apache.stratos.messaging/src/main/java/org/apache/stratos/messaging/domain/topology/ParentBehavior.java
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.messaging/src/main/java/org/apache/stratos/messaging/domain/topology/ParentBehavior.java b/components/org.apache.stratos.messaging/src/main/java/org/apache/stratos/messaging/domain/topology/ParentBehavior.java
new file mode 100644
index 0000000..4daaa27
--- /dev/null
+++ b/components/org.apache.stratos.messaging/src/main/java/org/apache/stratos/messaging/domain/topology/ParentBehavior.java
@@ -0,0 +1,47 @@
+/*
+ * 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.stratos.messaging.domain.topology;
+
+import java.io.Serializable;
+import java.util.Collection;
+import java.util.Map;
+
+public interface ParentBehavior extends Serializable {
+
+ public void addGroup (Group group);
+
+ public void setGroups (Map<String, Group> groupNameToGroup);
+
+ public Group getGroup (String groupName);
+
+ public Collection<Group> getGroups ();
+
+ public void setDependencyOrder (DependencyOrder dependencyOrder);
+
+ public DependencyOrder getDependencyOrder ();
+
+ public void addClusterId (String serviceName, String clusterId);
+
+ public void setClusterIds (Map<String,String> serviceNameToClusterId);
+
+ public String getClusterId (String serviceName);
+
+ public Collection<String> getClusterIds ();
+}
http://git-wip-us.apache.org/repos/asf/stratos/blob/6f5dc14c/components/org.apache.stratos.messaging/src/main/java/org/apache/stratos/messaging/domain/topology/SubscribableBehavior.java
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.messaging/src/main/java/org/apache/stratos/messaging/domain/topology/SubscribableBehavior.java b/components/org.apache.stratos.messaging/src/main/java/org/apache/stratos/messaging/domain/topology/SubscribableBehavior.java
deleted file mode 100644
index b66b0c7..0000000
--- a/components/org.apache.stratos.messaging/src/main/java/org/apache/stratos/messaging/domain/topology/SubscribableBehavior.java
+++ /dev/null
@@ -1,47 +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.stratos.messaging.domain.topology;
-
-import java.io.Serializable;
-import java.util.Collection;
-import java.util.Map;
-
-public interface SubscribableBehavior extends Serializable {
-
- public void addGroup (Group group);
-
- public void setGroups (Map<String, Group> groupNameToGroup);
-
- public Group getGroup (String groupName);
-
- public Collection<Group> getGroups ();
-
- public void setDependencyOrder (DependencyOrder dependencyOrder);
-
- public DependencyOrder getDependencyOrder ();
-
- public void addClusterId (String serviceName, String clusterId);
-
- public void setClusterIds (Map<String,String> serviceNameToClusterId);
-
- public String getClusterId (String serviceName);
-
- public Collection<String> getClusterIds ();
-}