You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stratos.apache.org by re...@apache.org on 2013/11/08 06:11:17 UTC
git commit: adding partition to messaging components
Updated Branches:
refs/heads/master a503f4657 -> 47ea0a313
adding partition to messaging components
Project: http://git-wip-us.apache.org/repos/asf/incubator-stratos/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-stratos/commit/47ea0a31
Tree: http://git-wip-us.apache.org/repos/asf/incubator-stratos/tree/47ea0a31
Diff: http://git-wip-us.apache.org/repos/asf/incubator-stratos/diff/47ea0a31
Branch: refs/heads/master
Commit: 47ea0a313955b1f005b9670fed1be7626e477308
Parents: a503f46
Author: rekathiru <rt...@gmail.com>
Authored: Fri Nov 8 10:40:41 2013 +0530
Committer: rekathiru <rt...@gmail.com>
Committed: Fri Nov 8 10:40:41 2013 +0530
----------------------------------------------------------------------
.../messaging/domain/topology/Partition.java | 49 ++++++++++++++++++++
1 file changed, 49 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/47ea0a31/components/org.apache.stratos.messaging/src/main/java/org/apache/stratos/messaging/domain/topology/Partition.java
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.messaging/src/main/java/org/apache/stratos/messaging/domain/topology/Partition.java b/components/org.apache.stratos.messaging/src/main/java/org/apache/stratos/messaging/domain/topology/Partition.java
new file mode 100644
index 0000000..fb5527e
--- /dev/null
+++ b/components/org.apache.stratos.messaging/src/main/java/org/apache/stratos/messaging/domain/topology/Partition.java
@@ -0,0 +1,49 @@
+/*
+ * 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.util.HashMap;
+import java.util.Map;
+
+public class Partition {
+ private String id;
+ private String scope;
+ /**
+ * key - type of scope
+ * value - name of the scope
+ */
+ private Map<String, String> properties = new HashMap();
+
+ public String getId() {
+ return id;
+ }
+
+ public void setId(String id) {
+ this.id = id;
+ }
+
+
+ public String getScope() {
+ return scope;
+ }
+
+ public void setScope(String scope) {
+ this.scope = scope;
+ }
+}