activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rajdav...@apache.org
Subject svn commit: r685612 [1/3] - in /activemq/sandbox/groupmq: ./ eclipse-classes/ eclipse-classes/META-INF/ eclipse-classes/org/ eclipse-classes/org/apache/ eclipse-classes/org/apache/group/ src/ src/main/ src/main/java/ src/main/java/org/ src/main/java/or...
Date Wed, 13 Aug 2008 17:05:11 GMT
Author: rajdavies
Date: Wed Aug 13 10:05:07 2008
New Revision: 685612

URL: http://svn.apache.org/viewvc?rev=685612&view=rev
Log:
initial import

Added:
    activemq/sandbox/groupmq/
    activemq/sandbox/groupmq/README
    activemq/sandbox/groupmq/eclipse-classes/
    activemq/sandbox/groupmq/eclipse-classes/META-INF/
    activemq/sandbox/groupmq/eclipse-classes/META-INF/DEPENDENCIES
    activemq/sandbox/groupmq/eclipse-classes/META-INF/LICENSE
    activemq/sandbox/groupmq/eclipse-classes/META-INF/NOTICE
    activemq/sandbox/groupmq/eclipse-classes/org/
    activemq/sandbox/groupmq/eclipse-classes/org/apache/
    activemq/sandbox/groupmq/eclipse-classes/org/apache/group/
    activemq/sandbox/groupmq/eclipse-classes/org/apache/group/AsyncMapRequest.class   (with props)
    activemq/sandbox/groupmq/eclipse-classes/org/apache/group/DefaultMapChangedListener.class   (with props)
    activemq/sandbox/groupmq/eclipse-classes/org/apache/group/ElectionMessage$MessageType.class   (with props)
    activemq/sandbox/groupmq/eclipse-classes/org/apache/group/ElectionMessage.class   (with props)
    activemq/sandbox/groupmq/eclipse-classes/org/apache/group/EntryKey.class   (with props)
    activemq/sandbox/groupmq/eclipse-classes/org/apache/group/EntryMessage$MessageType.class   (with props)
    activemq/sandbox/groupmq/eclipse-classes/org/apache/group/EntryMessage.class   (with props)
    activemq/sandbox/groupmq/eclipse-classes/org/apache/group/EntryValue.class   (with props)
    activemq/sandbox/groupmq/eclipse-classes/org/apache/group/Group$1.class   (with props)
    activemq/sandbox/groupmq/eclipse-classes/org/apache/group/Group$10.class   (with props)
    activemq/sandbox/groupmq/eclipse-classes/org/apache/group/Group$11.class   (with props)
    activemq/sandbox/groupmq/eclipse-classes/org/apache/group/Group$12.class   (with props)
    activemq/sandbox/groupmq/eclipse-classes/org/apache/group/Group$13.class   (with props)
    activemq/sandbox/groupmq/eclipse-classes/org/apache/group/Group$14.class   (with props)
    activemq/sandbox/groupmq/eclipse-classes/org/apache/group/Group$15.class   (with props)
    activemq/sandbox/groupmq/eclipse-classes/org/apache/group/Group$16.class   (with props)
    activemq/sandbox/groupmq/eclipse-classes/org/apache/group/Group$17.class   (with props)
    activemq/sandbox/groupmq/eclipse-classes/org/apache/group/Group$2.class   (with props)
    activemq/sandbox/groupmq/eclipse-classes/org/apache/group/Group$3.class   (with props)
    activemq/sandbox/groupmq/eclipse-classes/org/apache/group/Group$4.class   (with props)
    activemq/sandbox/groupmq/eclipse-classes/org/apache/group/Group$5.class   (with props)
    activemq/sandbox/groupmq/eclipse-classes/org/apache/group/Group$6.class   (with props)
    activemq/sandbox/groupmq/eclipse-classes/org/apache/group/Group$7.class   (with props)
    activemq/sandbox/groupmq/eclipse-classes/org/apache/group/Group$8.class   (with props)
    activemq/sandbox/groupmq/eclipse-classes/org/apache/group/Group$9.class   (with props)
    activemq/sandbox/groupmq/eclipse-classes/org/apache/group/Group$ElectionService.class   (with props)
    activemq/sandbox/groupmq/eclipse-classes/org/apache/group/Group.class   (with props)
    activemq/sandbox/groupmq/eclipse-classes/org/apache/group/GroupMapTest$1.class   (with props)
    activemq/sandbox/groupmq/eclipse-classes/org/apache/group/GroupMapTest$10.class   (with props)
    activemq/sandbox/groupmq/eclipse-classes/org/apache/group/GroupMapTest$11.class   (with props)
    activemq/sandbox/groupmq/eclipse-classes/org/apache/group/GroupMapTest$2.class   (with props)
    activemq/sandbox/groupmq/eclipse-classes/org/apache/group/GroupMapTest$3.class   (with props)
    activemq/sandbox/groupmq/eclipse-classes/org/apache/group/GroupMapTest$4.class   (with props)
    activemq/sandbox/groupmq/eclipse-classes/org/apache/group/GroupMapTest$5.class   (with props)
    activemq/sandbox/groupmq/eclipse-classes/org/apache/group/GroupMapTest$6.class   (with props)
    activemq/sandbox/groupmq/eclipse-classes/org/apache/group/GroupMapTest$7.class   (with props)
    activemq/sandbox/groupmq/eclipse-classes/org/apache/group/GroupMapTest$8.class   (with props)
    activemq/sandbox/groupmq/eclipse-classes/org/apache/group/GroupMapTest$9.class   (with props)
    activemq/sandbox/groupmq/eclipse-classes/org/apache/group/GroupMapTest.class   (with props)
    activemq/sandbox/groupmq/eclipse-classes/org/apache/group/GroupMapUpdateException.class   (with props)
    activemq/sandbox/groupmq/eclipse-classes/org/apache/group/GroupMemberTest.class   (with props)
    activemq/sandbox/groupmq/eclipse-classes/org/apache/group/GroupMessageListener.class   (with props)
    activemq/sandbox/groupmq/eclipse-classes/org/apache/group/GroupMessageTest$1.class   (with props)
    activemq/sandbox/groupmq/eclipse-classes/org/apache/group/GroupMessageTest$2.class   (with props)
    activemq/sandbox/groupmq/eclipse-classes/org/apache/group/GroupMessageTest$3.class   (with props)
    activemq/sandbox/groupmq/eclipse-classes/org/apache/group/GroupMessageTest$4.class   (with props)
    activemq/sandbox/groupmq/eclipse-classes/org/apache/group/GroupMessageTest$5.class   (with props)
    activemq/sandbox/groupmq/eclipse-classes/org/apache/group/GroupMessageTest.class   (with props)
    activemq/sandbox/groupmq/eclipse-classes/org/apache/group/MapChangedListener.class   (with props)
    activemq/sandbox/groupmq/eclipse-classes/org/apache/group/MapRequest.class   (with props)
    activemq/sandbox/groupmq/eclipse-classes/org/apache/group/Member.class   (with props)
    activemq/sandbox/groupmq/eclipse-classes/org/apache/group/MemberChangedListener.class   (with props)
    activemq/sandbox/groupmq/eclipse-classes/org/apache/group/RequestCallback.class   (with props)
    activemq/sandbox/groupmq/pom.xml   (with props)
    activemq/sandbox/groupmq/src/
    activemq/sandbox/groupmq/src/main/
    activemq/sandbox/groupmq/src/main/java/
    activemq/sandbox/groupmq/src/main/java/org/
    activemq/sandbox/groupmq/src/main/java/org/apache/
    activemq/sandbox/groupmq/src/main/java/org/apache/groupmq/
    activemq/sandbox/groupmq/src/main/java/org/apache/groupmq/AsyncMapRequest.java   (with props)
    activemq/sandbox/groupmq/src/main/java/org/apache/groupmq/DefaultMapChangedListener.java   (with props)
    activemq/sandbox/groupmq/src/main/java/org/apache/groupmq/ElectionMessage.java   (with props)
    activemq/sandbox/groupmq/src/main/java/org/apache/groupmq/EntryKey.java   (with props)
    activemq/sandbox/groupmq/src/main/java/org/apache/groupmq/EntryMessage.java   (with props)
    activemq/sandbox/groupmq/src/main/java/org/apache/groupmq/EntryValue.java   (with props)
    activemq/sandbox/groupmq/src/main/java/org/apache/groupmq/Group.java   (with props)
    activemq/sandbox/groupmq/src/main/java/org/apache/groupmq/GroupMessageListener.java   (with props)
    activemq/sandbox/groupmq/src/main/java/org/apache/groupmq/GroupStateChangedListener.java   (with props)
    activemq/sandbox/groupmq/src/main/java/org/apache/groupmq/GroupUpdateException.java   (with props)
    activemq/sandbox/groupmq/src/main/java/org/apache/groupmq/MapRequest.java   (with props)
    activemq/sandbox/groupmq/src/main/java/org/apache/groupmq/Member.java   (with props)
    activemq/sandbox/groupmq/src/main/java/org/apache/groupmq/MemberChangedListener.java   (with props)
    activemq/sandbox/groupmq/src/main/java/org/apache/groupmq/RequestCallback.java   (with props)
    activemq/sandbox/groupmq/src/main/java/org/apache/groupmq/package.html   (with props)
    activemq/sandbox/groupmq/src/test/
    activemq/sandbox/groupmq/src/test/java/
    activemq/sandbox/groupmq/src/test/java/org/
    activemq/sandbox/groupmq/src/test/java/org/apache/
    activemq/sandbox/groupmq/src/test/java/org/apache/groupmq/
    activemq/sandbox/groupmq/src/test/java/org/apache/groupmq/GroupMemberTest.java   (with props)
    activemq/sandbox/groupmq/src/test/java/org/apache/groupmq/GroupMessageTest.java   (with props)
    activemq/sandbox/groupmq/src/test/java/org/apache/groupmq/GroupStateTest.java   (with props)

Added: activemq/sandbox/groupmq/README
URL: http://svn.apache.org/viewvc/activemq/sandbox/groupmq/README?rev=685612&view=auto
==============================================================================
--- activemq/sandbox/groupmq/README (added)
+++ activemq/sandbox/groupmq/README Wed Aug 13 10:05:07 2008
@@ -0,0 +1,13 @@
+=======================================================================
+ GROUP : A simple distribution and collaboration framework
+=======================================================================
+
+Goals:
+  * Simple message distribution
+  * group membership
+  * state replication
+  * locks and leases on distributed key/value pairs
+
+Status:
+  * Moved from trunk in activemq-core for further refinement
+  

Added: activemq/sandbox/groupmq/eclipse-classes/META-INF/DEPENDENCIES
URL: http://svn.apache.org/viewvc/activemq/sandbox/groupmq/eclipse-classes/META-INF/DEPENDENCIES?rev=685612&view=auto
==============================================================================
--- activemq/sandbox/groupmq/eclipse-classes/META-INF/DEPENDENCIES (added)
+++ activemq/sandbox/groupmq/eclipse-classes/META-INF/DEPENDENCIES Wed Aug 13 10:05:07 2008
@@ -0,0 +1,91 @@
+// ------------------------------------------------------------------
+// Transitive dependencies of this project determined from the
+// maven pom organized by organization.
+// ------------------------------------------------------------------
+
+Apache ActiveMQ
+
+
+From: 'an unknown organization'
+  - Unnamed - ant:ant:jar:1.6.2  ant:ant:jar:1.6.2
+
+  - Unnamed - com.sun.xml.bind:jaxb-impl:jar:2.0.3  com.sun.xml.bind:jaxb-impl:jar:2.0.3
+
+  - Unnamed - hsqldb:hsqldb:jar:1.8.0.1  hsqldb:hsqldb:jar:1.8.0.1
+
+  - Unnamed - javax.activation:activation:jar:1.1  javax.activation:activation:jar:1.1
+
+  - Unnamed - javax.xml.bind:jaxb-api:jar:2.0  javax.xml.bind:jaxb-api:jar:2.0
+
+  - Unnamed - javax.xml.bind:jsr173_api:jar:1.0  javax.xml.bind:jsr173_api:jar:1.0
+
+  - Serp (http://serp.sourceforge.net) net.sourceforge.serp:serp:jar:1.13.1
+    License: BSD  (LICENSE.txt)
+  - Unnamed - org.apache.geronimo.specs:geronimo-j2ee-management_1.0_spec:jar:1.0  org.apache.geronimo.specs:geronimo-j2ee-management_1.0_spec:jar:1.0
+
+
+From: 'Apache Software Foundation' (http://db.apache.org/)
+  - Derby Engine (http://db.apache.org/derby/) org.apache.derby:derby:jar:10.1.3.1
+
+
+From: 'Apache Software Foundation' (http://www.apache.org)
+  - Log4j (http://logging.apache.org/log4j/docs/) log4j:log4j:jar:1.2.14
+    License: The Apache Software License, Version 2.0  (http://www.apache.org/licenses/LICENSE-2.0.txt)
+  - JMS 1.1 (http://geronimo.apache.org/specs/geronimo-jms_1.1_spec) org.apache.geronimo.specs:geronimo-jms_1.1_spec:jar:1.1.1
+    License: The Apache Software License, Version 2.0  (http://www.apache.org/licenses/LICENSE-2.0.txt)
+  - JPA 1.0 (http://geronimo.apache.org/specs/geronimo-jpa_3.0_spec) org.apache.geronimo.specs:geronimo-jpa_3.0_spec:jar:1.0
+    License: The Apache Software License, Version 2.0  (http://www.apache.org/licenses/LICENSE-2.0.txt)
+  - JTA 1.1 (http://geronimo.apache.org/specs/geronimo-jta_1.1_spec) org.apache.geronimo.specs:geronimo-jta_1.1_spec:jar:1.1
+    License: The Apache Software License, Version 2.0  (http://www.apache.org/licenses/LICENSE-2.0.txt)
+  - OpenJPA JDBC (http://openjpa.apache.org) org.apache.openjpa:openjpa-jdbc:jar:1.0.0
+    License: Apache Software License 2.0  (http://www.apache.org/licenses/LICENSE-2.0.txt)
+  - OpenJPA JDBC 1.5 (http://openjpa.apache.org) org.apache.openjpa:openjpa-jdbc-5:jar:1.0.0
+    License: Apache Software License 2.0  (http://www.apache.org/licenses/LICENSE-2.0.txt)
+  - OpenJPA Kernel (http://openjpa.apache.org) org.apache.openjpa:openjpa-kernel:jar:1.0.0
+    License: Apache Software License 2.0  (http://www.apache.org/licenses/LICENSE-2.0.txt)
+  - OpenJPA Kernel 1.5 (http://openjpa.apache.org) org.apache.openjpa:openjpa-kernel-5:jar:1.0.0
+    License: Apache Software License 2.0  (http://www.apache.org/licenses/LICENSE-2.0.txt)
+  - OpenJPA Utilities (http://openjpa.apache.org) org.apache.openjpa:openjpa-lib:jar:1.0.0
+    License: Apache Software License 2.0  (http://www.apache.org/licenses/LICENSE-2.0.txt)
+  - OpenJPA JPA (http://openjpa.apache.org) org.apache.openjpa:openjpa-persistence:jar:1.0.0
+    License: Apache Software License 2.0  (http://www.apache.org/licenses/LICENSE-2.0.txt)
+  - OpenJPA JPA JDBC (http://openjpa.apache.org) org.apache.openjpa:openjpa-persistence-jdbc:jar:1.0.0
+    License: Apache Software License 2.0  (http://www.apache.org/licenses/LICENSE-2.0.txt)
+
+From: 'Apache Software Foundation' (http://www.apache.org/)
+  - ActiveIO :: Core (http://activemq.apache.org/activeio-core) org.apache.activemq:activeio-core:jar:3.1.0
+    License: The Apache Software License, Version 2.0  (http://www.apache.org/licenses/LICENSE-2.0.txt)
+  - Camel :: Core (http://apache.apache.org/camel/camel-core) org.apache.camel:camel-core:bundle:1.4-SNAPSHOT
+    License: The Apache Software License, Version 2.0  (http://www.apache.org/licenses/LICENSE-2.0.txt)
+  - XBean :: Spring (http://geronimo.apache.org/xbean/xbean-spring) org.apache.xbean:xbean-spring:bundle:3.3
+    License: The Apache Software License, Version 2.0  (http://www.apache.org/licenses/LICENSE-2.0.txt)
+
+From: 'Dawid Kurzyniec' (http://www.mathcs.emory.edu/~dawidk/)
+  - Backport of JSR 166 (http://www.mathcs.emory.edu/dcl/util/backport-util-concurrent/) backport-util-concurrent:backport-util-concurrent:jar:2.1
+    License: Public Domain  (http://creativecommons.org/licenses/publicdomain)
+
+From: 'Spring Framework' (http://www.springframework.org/)
+  - Spring Framework: Beans (http://www.springframework.org) org.springframework:spring-beans:jar:2.5.1
+    License: The Apache Software License, Version 2.0  (http://www.apache.org/licenses/LICENSE-2.0.txt)
+  - Spring Framework: Core (http://www.springframework.org) org.springframework:spring-core:jar:2.5.1
+    License: The Apache Software License, Version 2.0  (http://www.apache.org/licenses/LICENSE-2.0.txt)
+
+From: 'The Apache Software Foundation' (http://commons.apache.org/)
+  - Commons Pool (http://commons.apache.org/pool/) commons-pool:commons-pool:jar:1.4
+    License: The Apache Software License, Version 2.0  (/LICENSE.txt)
+
+From: 'The Apache Software Foundation' (http://jakarta.apache.org)
+  - Lang (http://jakarta.apache.org/commons/${pom.artifactId.substring(8)}/) commons-lang:commons-lang:jar:2.1
+    License: The Apache Software License, Version 2.0  (/LICENSE.txt)
+  - Logging (http://jakarta.apache.org/commons/${pom.artifactId.substring(8)}/) commons-logging:commons-logging:jar:1.1
+    License: The Apache Software License, Version 2.0  (/LICENSE.txt)
+  - Logging (http://jakarta.apache.org/commons/logging/) commons-logging:commons-logging-api:jar:1.1
+    License: The Apache Software License, Version 2.0  (/LICENSE.txt)
+
+From: 'The Apache Software Foundation' (http://www.apache.org/)
+  - ActiveMQ :: Core (http://activemq.apache.org/activemq-core) org.apache.activemq:activemq-core:bundle:5.2-SNAPSHOT
+    License: The Apache Software License, Version 2.0  (http://www.apache.org/licenses/LICENSE-2.0.txt)
+
+
+
+

Added: activemq/sandbox/groupmq/eclipse-classes/META-INF/LICENSE
URL: http://svn.apache.org/viewvc/activemq/sandbox/groupmq/eclipse-classes/META-INF/LICENSE?rev=685612&view=auto
==============================================================================
--- activemq/sandbox/groupmq/eclipse-classes/META-INF/LICENSE (added)
+++ activemq/sandbox/groupmq/eclipse-classes/META-INF/LICENSE Wed Aug 13 10:05:07 2008
@@ -0,0 +1,202 @@
+
+                                 Apache License
+                           Version 2.0, January 2004
+                        http://www.apache.org/licenses/
+
+   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+   1. Definitions.
+
+      "License" shall mean the terms and conditions for use, reproduction,
+      and distribution as defined by Sections 1 through 9 of this document.
+
+      "Licensor" shall mean the copyright owner or entity authorized by
+      the copyright owner that is granting the License.
+
+      "Legal Entity" shall mean the union of the acting entity and all
+      other entities that control, are controlled by, or are under common
+      control with that entity. For the purposes of this definition,
+      "control" means (i) the power, direct or indirect, to cause the
+      direction or management of such entity, whether by contract or
+      otherwise, or (ii) ownership of fifty percent (50%) or more of the
+      outstanding shares, or (iii) beneficial ownership of such entity.
+
+      "You" (or "Your") shall mean an individual or Legal Entity
+      exercising permissions granted by this License.
+
+      "Source" form shall mean the preferred form for making modifications,
+      including but not limited to software source code, documentation
+      source, and configuration files.
+
+      "Object" form shall mean any form resulting from mechanical
+      transformation or translation of a Source form, including but
+      not limited to compiled object code, generated documentation,
+      and conversions to other media types.
+
+      "Work" shall mean the work of authorship, whether in Source or
+      Object form, made available under the License, as indicated by a
+      copyright notice that is included in or attached to the work
+      (an example is provided in the Appendix below).
+
+      "Derivative Works" shall mean any work, whether in Source or Object
+      form, that is based on (or derived from) the Work and for which the
+      editorial revisions, annotations, elaborations, or other modifications
+      represent, as a whole, an original work of authorship. For the purposes
+      of this License, Derivative Works shall not include works that remain
+      separable from, or merely link (or bind by name) to the interfaces of,
+      the Work and Derivative Works thereof.
+
+      "Contribution" shall mean any work of authorship, including
+      the original version of the Work and any modifications or additions
+      to that Work or Derivative Works thereof, that is intentionally
+      submitted to Licensor for inclusion in the Work by the copyright owner
+      or by an individual or Legal Entity authorized to submit on behalf of
+      the copyright owner. For the purposes of this definition, "submitted"
+      means any form of electronic, verbal, or written communication sent
+      to the Licensor or its representatives, including but not limited to
+      communication on electronic mailing lists, source code control systems,
+      and issue tracking systems that are managed by, or on behalf of, the
+      Licensor for the purpose of discussing and improving the Work, but
+      excluding communication that is conspicuously marked or otherwise
+      designated in writing by the copyright owner as "Not a Contribution."
+
+      "Contributor" shall mean Licensor and any individual or Legal Entity
+      on behalf of whom a Contribution has been received by Licensor and
+      subsequently incorporated within the Work.
+
+   2. Grant of Copyright License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      copyright license to reproduce, prepare Derivative Works of,
+      publicly display, publicly perform, sublicense, and distribute the
+      Work and such Derivative Works in Source or Object form.
+
+   3. Grant of Patent License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      (except as stated in this section) patent license to make, have made,
+      use, offer to sell, sell, import, and otherwise transfer the Work,
+      where such license applies only to those patent claims licensable
+      by such Contributor that are necessarily infringed by their
+      Contribution(s) alone or by combination of their Contribution(s)
+      with the Work to which such Contribution(s) was submitted. If You
+      institute patent litigation against any entity (including a
+      cross-claim or counterclaim in a lawsuit) alleging that the Work
+      or a Contribution incorporated within the Work constitutes direct
+      or contributory patent infringement, then any patent licenses
+      granted to You under this License for that Work shall terminate
+      as of the date such litigation is filed.
+
+   4. Redistribution. You may reproduce and distribute copies of the
+      Work or Derivative Works thereof in any medium, with or without
+      modifications, and in Source or Object form, provided that You
+      meet the following conditions:
+
+      (a) You must give any other recipients of the Work or
+          Derivative Works a copy of this License; and
+
+      (b) You must cause any modified files to carry prominent notices
+          stating that You changed the files; and
+
+      (c) You must retain, in the Source form of any Derivative Works
+          that You distribute, all copyright, patent, trademark, and
+          attribution notices from the Source form of the Work,
+          excluding those notices that do not pertain to any part of
+          the Derivative Works; and
+
+      (d) If the Work includes a "NOTICE" text file as part of its
+          distribution, then any Derivative Works that You distribute must
+          include a readable copy of the attribution notices contained
+          within such NOTICE file, excluding those notices that do not
+          pertain to any part of the Derivative Works, in at least one
+          of the following places: within a NOTICE text file distributed
+          as part of the Derivative Works; within the Source form or
+          documentation, if provided along with the Derivative Works; or,
+          within a display generated by the Derivative Works, if and
+          wherever such third-party notices normally appear. The contents
+          of the NOTICE file are for informational purposes only and
+          do not modify the License. You may add Your own attribution
+          notices within Derivative Works that You distribute, alongside
+          or as an addendum to the NOTICE text from the Work, provided
+          that such additional attribution notices cannot be construed
+          as modifying the License.
+
+      You may add Your own copyright statement to Your modifications and
+      may provide additional or different license terms and conditions
+      for use, reproduction, or distribution of Your modifications, or
+      for any such Derivative Works as a whole, provided Your use,
+      reproduction, and distribution of the Work otherwise complies with
+      the conditions stated in this License.
+
+   5. Submission of Contributions. Unless You explicitly state otherwise,
+      any Contribution intentionally submitted for inclusion in the Work
+      by You to the Licensor shall be under the terms and conditions of
+      this License, without any additional terms or conditions.
+      Notwithstanding the above, nothing herein shall supersede or modify
+      the terms of any separate license agreement you may have executed
+      with Licensor regarding such Contributions.
+
+   6. Trademarks. This License does not grant permission to use the trade
+      names, trademarks, service marks, or product names of the Licensor,
+      except as required for reasonable and customary use in describing the
+      origin of the Work and reproducing the content of the NOTICE file.
+
+   7. Disclaimer of Warranty. Unless required by applicable law or
+      agreed to in writing, Licensor provides the Work (and each
+      Contributor provides its Contributions) on an "AS IS" BASIS,
+      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+      implied, including, without limitation, any warranties or conditions
+      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+      PARTICULAR PURPOSE. You are solely responsible for determining the
+      appropriateness of using or redistributing the Work and assume any
+      risks associated with Your exercise of permissions under this License.
+
+   8. Limitation of Liability. In no event and under no legal theory,
+      whether in tort (including negligence), contract, or otherwise,
+      unless required by applicable law (such as deliberate and grossly
+      negligent acts) or agreed to in writing, shall any Contributor be
+      liable to You for damages, including any direct, indirect, special,
+      incidental, or consequential damages of any character arising as a
+      result of this License or out of the use or inability to use the
+      Work (including but not limited to damages for loss of goodwill,
+      work stoppage, computer failure or malfunction, or any and all
+      other commercial damages or losses), even if such Contributor
+      has been advised of the possibility of such damages.
+
+   9. Accepting Warranty or Additional Liability. While redistributing
+      the Work or Derivative Works thereof, You may choose to offer,
+      and charge a fee for, acceptance of support, warranty, indemnity,
+      or other liability obligations and/or rights consistent with this
+      License. However, in accepting such obligations, You may act only
+      on Your own behalf and on Your sole responsibility, not on behalf
+      of any other Contributor, and only if You agree to indemnify,
+      defend, and hold each Contributor harmless for any liability
+      incurred by, or claims asserted against, such Contributor by reason
+      of your accepting any such warranty or additional liability.
+
+   END OF TERMS AND CONDITIONS
+
+   APPENDIX: How to apply the Apache License to your work.
+
+      To apply the Apache License to your work, attach the following
+      boilerplate notice, with the fields enclosed by brackets "[]"
+      replaced with your own identifying information. (Don't include
+      the brackets!)  The text should be enclosed in the appropriate
+      comment syntax for the file format. We also recommend that a
+      file or class name and description of purpose be included on the
+      same "printed page" as the copyright notice for easier
+      identification within third-party archives.
+
+   Copyright [yyyy] [name of copyright owner]
+
+   Licensed 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.

Added: activemq/sandbox/groupmq/eclipse-classes/META-INF/NOTICE
URL: http://svn.apache.org/viewvc/activemq/sandbox/groupmq/eclipse-classes/META-INF/NOTICE?rev=685612&view=auto
==============================================================================
--- activemq/sandbox/groupmq/eclipse-classes/META-INF/NOTICE (added)
+++ activemq/sandbox/groupmq/eclipse-classes/META-INF/NOTICE Wed Aug 13 10:05:07 2008
@@ -0,0 +1,8 @@
+
+Apache ActiveMQ
+Copyright 2008 The Apache Software Foundation
+
+This product includes software developed at
+The Apache Software Foundation (http://www.apache.org/).
+
+

Added: activemq/sandbox/groupmq/eclipse-classes/org/apache/group/AsyncMapRequest.class
URL: http://svn.apache.org/viewvc/activemq/sandbox/groupmq/eclipse-classes/org/apache/group/AsyncMapRequest.class?rev=685612&view=auto
==============================================================================
Binary file - no diff available.

Propchange: activemq/sandbox/groupmq/eclipse-classes/org/apache/group/AsyncMapRequest.class
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: activemq/sandbox/groupmq/eclipse-classes/org/apache/group/DefaultMapChangedListener.class
URL: http://svn.apache.org/viewvc/activemq/sandbox/groupmq/eclipse-classes/org/apache/group/DefaultMapChangedListener.class?rev=685612&view=auto
==============================================================================
Binary file - no diff available.

Propchange: activemq/sandbox/groupmq/eclipse-classes/org/apache/group/DefaultMapChangedListener.class
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: activemq/sandbox/groupmq/eclipse-classes/org/apache/group/ElectionMessage$MessageType.class
URL: http://svn.apache.org/viewvc/activemq/sandbox/groupmq/eclipse-classes/org/apache/group/ElectionMessage%24MessageType.class?rev=685612&view=auto
==============================================================================
Binary file - no diff available.

Propchange: activemq/sandbox/groupmq/eclipse-classes/org/apache/group/ElectionMessage$MessageType.class
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: activemq/sandbox/groupmq/eclipse-classes/org/apache/group/ElectionMessage.class
URL: http://svn.apache.org/viewvc/activemq/sandbox/groupmq/eclipse-classes/org/apache/group/ElectionMessage.class?rev=685612&view=auto
==============================================================================
Binary file - no diff available.

Propchange: activemq/sandbox/groupmq/eclipse-classes/org/apache/group/ElectionMessage.class
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: activemq/sandbox/groupmq/eclipse-classes/org/apache/group/EntryKey.class
URL: http://svn.apache.org/viewvc/activemq/sandbox/groupmq/eclipse-classes/org/apache/group/EntryKey.class?rev=685612&view=auto
==============================================================================
Binary file - no diff available.

Propchange: activemq/sandbox/groupmq/eclipse-classes/org/apache/group/EntryKey.class
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: activemq/sandbox/groupmq/eclipse-classes/org/apache/group/EntryMessage$MessageType.class
URL: http://svn.apache.org/viewvc/activemq/sandbox/groupmq/eclipse-classes/org/apache/group/EntryMessage%24MessageType.class?rev=685612&view=auto
==============================================================================
Binary file - no diff available.

Propchange: activemq/sandbox/groupmq/eclipse-classes/org/apache/group/EntryMessage$MessageType.class
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: activemq/sandbox/groupmq/eclipse-classes/org/apache/group/EntryMessage.class
URL: http://svn.apache.org/viewvc/activemq/sandbox/groupmq/eclipse-classes/org/apache/group/EntryMessage.class?rev=685612&view=auto
==============================================================================
Binary file - no diff available.

Propchange: activemq/sandbox/groupmq/eclipse-classes/org/apache/group/EntryMessage.class
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: activemq/sandbox/groupmq/eclipse-classes/org/apache/group/EntryValue.class
URL: http://svn.apache.org/viewvc/activemq/sandbox/groupmq/eclipse-classes/org/apache/group/EntryValue.class?rev=685612&view=auto
==============================================================================
Binary file - no diff available.

Propchange: activemq/sandbox/groupmq/eclipse-classes/org/apache/group/EntryValue.class
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: activemq/sandbox/groupmq/eclipse-classes/org/apache/group/Group$1.class
URL: http://svn.apache.org/viewvc/activemq/sandbox/groupmq/eclipse-classes/org/apache/group/Group%241.class?rev=685612&view=auto
==============================================================================
Binary file - no diff available.

Propchange: activemq/sandbox/groupmq/eclipse-classes/org/apache/group/Group$1.class
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: activemq/sandbox/groupmq/eclipse-classes/org/apache/group/Group$10.class
URL: http://svn.apache.org/viewvc/activemq/sandbox/groupmq/eclipse-classes/org/apache/group/Group%2410.class?rev=685612&view=auto
==============================================================================
Binary file - no diff available.

Propchange: activemq/sandbox/groupmq/eclipse-classes/org/apache/group/Group$10.class
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: activemq/sandbox/groupmq/eclipse-classes/org/apache/group/Group$11.class
URL: http://svn.apache.org/viewvc/activemq/sandbox/groupmq/eclipse-classes/org/apache/group/Group%2411.class?rev=685612&view=auto
==============================================================================
Binary file - no diff available.

Propchange: activemq/sandbox/groupmq/eclipse-classes/org/apache/group/Group$11.class
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: activemq/sandbox/groupmq/eclipse-classes/org/apache/group/Group$12.class
URL: http://svn.apache.org/viewvc/activemq/sandbox/groupmq/eclipse-classes/org/apache/group/Group%2412.class?rev=685612&view=auto
==============================================================================
Binary file - no diff available.

Propchange: activemq/sandbox/groupmq/eclipse-classes/org/apache/group/Group$12.class
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: activemq/sandbox/groupmq/eclipse-classes/org/apache/group/Group$13.class
URL: http://svn.apache.org/viewvc/activemq/sandbox/groupmq/eclipse-classes/org/apache/group/Group%2413.class?rev=685612&view=auto
==============================================================================
Binary file - no diff available.

Propchange: activemq/sandbox/groupmq/eclipse-classes/org/apache/group/Group$13.class
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: activemq/sandbox/groupmq/eclipse-classes/org/apache/group/Group$14.class
URL: http://svn.apache.org/viewvc/activemq/sandbox/groupmq/eclipse-classes/org/apache/group/Group%2414.class?rev=685612&view=auto
==============================================================================
Binary file - no diff available.

Propchange: activemq/sandbox/groupmq/eclipse-classes/org/apache/group/Group$14.class
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: activemq/sandbox/groupmq/eclipse-classes/org/apache/group/Group$15.class
URL: http://svn.apache.org/viewvc/activemq/sandbox/groupmq/eclipse-classes/org/apache/group/Group%2415.class?rev=685612&view=auto
==============================================================================
Binary file - no diff available.

Propchange: activemq/sandbox/groupmq/eclipse-classes/org/apache/group/Group$15.class
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: activemq/sandbox/groupmq/eclipse-classes/org/apache/group/Group$16.class
URL: http://svn.apache.org/viewvc/activemq/sandbox/groupmq/eclipse-classes/org/apache/group/Group%2416.class?rev=685612&view=auto
==============================================================================
Binary file - no diff available.

Propchange: activemq/sandbox/groupmq/eclipse-classes/org/apache/group/Group$16.class
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: activemq/sandbox/groupmq/eclipse-classes/org/apache/group/Group$17.class
URL: http://svn.apache.org/viewvc/activemq/sandbox/groupmq/eclipse-classes/org/apache/group/Group%2417.class?rev=685612&view=auto
==============================================================================
Binary file - no diff available.

Propchange: activemq/sandbox/groupmq/eclipse-classes/org/apache/group/Group$17.class
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: activemq/sandbox/groupmq/eclipse-classes/org/apache/group/Group$2.class
URL: http://svn.apache.org/viewvc/activemq/sandbox/groupmq/eclipse-classes/org/apache/group/Group%242.class?rev=685612&view=auto
==============================================================================
Binary file - no diff available.

Propchange: activemq/sandbox/groupmq/eclipse-classes/org/apache/group/Group$2.class
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: activemq/sandbox/groupmq/eclipse-classes/org/apache/group/Group$3.class
URL: http://svn.apache.org/viewvc/activemq/sandbox/groupmq/eclipse-classes/org/apache/group/Group%243.class?rev=685612&view=auto
==============================================================================
Binary file - no diff available.

Propchange: activemq/sandbox/groupmq/eclipse-classes/org/apache/group/Group$3.class
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: activemq/sandbox/groupmq/eclipse-classes/org/apache/group/Group$4.class
URL: http://svn.apache.org/viewvc/activemq/sandbox/groupmq/eclipse-classes/org/apache/group/Group%244.class?rev=685612&view=auto
==============================================================================
Binary file - no diff available.

Propchange: activemq/sandbox/groupmq/eclipse-classes/org/apache/group/Group$4.class
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: activemq/sandbox/groupmq/eclipse-classes/org/apache/group/Group$5.class
URL: http://svn.apache.org/viewvc/activemq/sandbox/groupmq/eclipse-classes/org/apache/group/Group%245.class?rev=685612&view=auto
==============================================================================
Binary file - no diff available.

Propchange: activemq/sandbox/groupmq/eclipse-classes/org/apache/group/Group$5.class
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: activemq/sandbox/groupmq/eclipse-classes/org/apache/group/Group$6.class
URL: http://svn.apache.org/viewvc/activemq/sandbox/groupmq/eclipse-classes/org/apache/group/Group%246.class?rev=685612&view=auto
==============================================================================
Binary file - no diff available.

Propchange: activemq/sandbox/groupmq/eclipse-classes/org/apache/group/Group$6.class
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: activemq/sandbox/groupmq/eclipse-classes/org/apache/group/Group$7.class
URL: http://svn.apache.org/viewvc/activemq/sandbox/groupmq/eclipse-classes/org/apache/group/Group%247.class?rev=685612&view=auto
==============================================================================
Binary file - no diff available.

Propchange: activemq/sandbox/groupmq/eclipse-classes/org/apache/group/Group$7.class
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: activemq/sandbox/groupmq/eclipse-classes/org/apache/group/Group$8.class
URL: http://svn.apache.org/viewvc/activemq/sandbox/groupmq/eclipse-classes/org/apache/group/Group%248.class?rev=685612&view=auto
==============================================================================
Binary file - no diff available.

Propchange: activemq/sandbox/groupmq/eclipse-classes/org/apache/group/Group$8.class
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: activemq/sandbox/groupmq/eclipse-classes/org/apache/group/Group$9.class
URL: http://svn.apache.org/viewvc/activemq/sandbox/groupmq/eclipse-classes/org/apache/group/Group%249.class?rev=685612&view=auto
==============================================================================
Binary file - no diff available.

Propchange: activemq/sandbox/groupmq/eclipse-classes/org/apache/group/Group$9.class
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: activemq/sandbox/groupmq/eclipse-classes/org/apache/group/Group$ElectionService.class
URL: http://svn.apache.org/viewvc/activemq/sandbox/groupmq/eclipse-classes/org/apache/group/Group%24ElectionService.class?rev=685612&view=auto
==============================================================================
Binary file - no diff available.

Propchange: activemq/sandbox/groupmq/eclipse-classes/org/apache/group/Group$ElectionService.class
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: activemq/sandbox/groupmq/eclipse-classes/org/apache/group/Group.class
URL: http://svn.apache.org/viewvc/activemq/sandbox/groupmq/eclipse-classes/org/apache/group/Group.class?rev=685612&view=auto
==============================================================================
Binary file - no diff available.

Propchange: activemq/sandbox/groupmq/eclipse-classes/org/apache/group/Group.class
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: activemq/sandbox/groupmq/eclipse-classes/org/apache/group/GroupMapTest$1.class
URL: http://svn.apache.org/viewvc/activemq/sandbox/groupmq/eclipse-classes/org/apache/group/GroupMapTest%241.class?rev=685612&view=auto
==============================================================================
Binary file - no diff available.

Propchange: activemq/sandbox/groupmq/eclipse-classes/org/apache/group/GroupMapTest$1.class
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: activemq/sandbox/groupmq/eclipse-classes/org/apache/group/GroupMapTest$10.class
URL: http://svn.apache.org/viewvc/activemq/sandbox/groupmq/eclipse-classes/org/apache/group/GroupMapTest%2410.class?rev=685612&view=auto
==============================================================================
Binary file - no diff available.

Propchange: activemq/sandbox/groupmq/eclipse-classes/org/apache/group/GroupMapTest$10.class
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: activemq/sandbox/groupmq/eclipse-classes/org/apache/group/GroupMapTest$11.class
URL: http://svn.apache.org/viewvc/activemq/sandbox/groupmq/eclipse-classes/org/apache/group/GroupMapTest%2411.class?rev=685612&view=auto
==============================================================================
Binary file - no diff available.

Propchange: activemq/sandbox/groupmq/eclipse-classes/org/apache/group/GroupMapTest$11.class
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: activemq/sandbox/groupmq/eclipse-classes/org/apache/group/GroupMapTest$2.class
URL: http://svn.apache.org/viewvc/activemq/sandbox/groupmq/eclipse-classes/org/apache/group/GroupMapTest%242.class?rev=685612&view=auto
==============================================================================
Binary file - no diff available.

Propchange: activemq/sandbox/groupmq/eclipse-classes/org/apache/group/GroupMapTest$2.class
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: activemq/sandbox/groupmq/eclipse-classes/org/apache/group/GroupMapTest$3.class
URL: http://svn.apache.org/viewvc/activemq/sandbox/groupmq/eclipse-classes/org/apache/group/GroupMapTest%243.class?rev=685612&view=auto
==============================================================================
Binary file - no diff available.

Propchange: activemq/sandbox/groupmq/eclipse-classes/org/apache/group/GroupMapTest$3.class
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: activemq/sandbox/groupmq/eclipse-classes/org/apache/group/GroupMapTest$4.class
URL: http://svn.apache.org/viewvc/activemq/sandbox/groupmq/eclipse-classes/org/apache/group/GroupMapTest%244.class?rev=685612&view=auto
==============================================================================
Binary file - no diff available.

Propchange: activemq/sandbox/groupmq/eclipse-classes/org/apache/group/GroupMapTest$4.class
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: activemq/sandbox/groupmq/eclipse-classes/org/apache/group/GroupMapTest$5.class
URL: http://svn.apache.org/viewvc/activemq/sandbox/groupmq/eclipse-classes/org/apache/group/GroupMapTest%245.class?rev=685612&view=auto
==============================================================================
Binary file - no diff available.

Propchange: activemq/sandbox/groupmq/eclipse-classes/org/apache/group/GroupMapTest$5.class
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: activemq/sandbox/groupmq/eclipse-classes/org/apache/group/GroupMapTest$6.class
URL: http://svn.apache.org/viewvc/activemq/sandbox/groupmq/eclipse-classes/org/apache/group/GroupMapTest%246.class?rev=685612&view=auto
==============================================================================
Binary file - no diff available.

Propchange: activemq/sandbox/groupmq/eclipse-classes/org/apache/group/GroupMapTest$6.class
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: activemq/sandbox/groupmq/eclipse-classes/org/apache/group/GroupMapTest$7.class
URL: http://svn.apache.org/viewvc/activemq/sandbox/groupmq/eclipse-classes/org/apache/group/GroupMapTest%247.class?rev=685612&view=auto
==============================================================================
Binary file - no diff available.

Propchange: activemq/sandbox/groupmq/eclipse-classes/org/apache/group/GroupMapTest$7.class
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: activemq/sandbox/groupmq/eclipse-classes/org/apache/group/GroupMapTest$8.class
URL: http://svn.apache.org/viewvc/activemq/sandbox/groupmq/eclipse-classes/org/apache/group/GroupMapTest%248.class?rev=685612&view=auto
==============================================================================
Binary file - no diff available.

Propchange: activemq/sandbox/groupmq/eclipse-classes/org/apache/group/GroupMapTest$8.class
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: activemq/sandbox/groupmq/eclipse-classes/org/apache/group/GroupMapTest$9.class
URL: http://svn.apache.org/viewvc/activemq/sandbox/groupmq/eclipse-classes/org/apache/group/GroupMapTest%249.class?rev=685612&view=auto
==============================================================================
Binary file - no diff available.

Propchange: activemq/sandbox/groupmq/eclipse-classes/org/apache/group/GroupMapTest$9.class
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: activemq/sandbox/groupmq/eclipse-classes/org/apache/group/GroupMapTest.class
URL: http://svn.apache.org/viewvc/activemq/sandbox/groupmq/eclipse-classes/org/apache/group/GroupMapTest.class?rev=685612&view=auto
==============================================================================
Binary file - no diff available.

Propchange: activemq/sandbox/groupmq/eclipse-classes/org/apache/group/GroupMapTest.class
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: activemq/sandbox/groupmq/eclipse-classes/org/apache/group/GroupMapUpdateException.class
URL: http://svn.apache.org/viewvc/activemq/sandbox/groupmq/eclipse-classes/org/apache/group/GroupMapUpdateException.class?rev=685612&view=auto
==============================================================================
Binary file - no diff available.

Propchange: activemq/sandbox/groupmq/eclipse-classes/org/apache/group/GroupMapUpdateException.class
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: activemq/sandbox/groupmq/eclipse-classes/org/apache/group/GroupMemberTest.class
URL: http://svn.apache.org/viewvc/activemq/sandbox/groupmq/eclipse-classes/org/apache/group/GroupMemberTest.class?rev=685612&view=auto
==============================================================================
Binary file - no diff available.

Propchange: activemq/sandbox/groupmq/eclipse-classes/org/apache/group/GroupMemberTest.class
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: activemq/sandbox/groupmq/eclipse-classes/org/apache/group/GroupMessageListener.class
URL: http://svn.apache.org/viewvc/activemq/sandbox/groupmq/eclipse-classes/org/apache/group/GroupMessageListener.class?rev=685612&view=auto
==============================================================================
Binary file - no diff available.

Propchange: activemq/sandbox/groupmq/eclipse-classes/org/apache/group/GroupMessageListener.class
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: activemq/sandbox/groupmq/eclipse-classes/org/apache/group/GroupMessageTest$1.class
URL: http://svn.apache.org/viewvc/activemq/sandbox/groupmq/eclipse-classes/org/apache/group/GroupMessageTest%241.class?rev=685612&view=auto
==============================================================================
Binary file - no diff available.

Propchange: activemq/sandbox/groupmq/eclipse-classes/org/apache/group/GroupMessageTest$1.class
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: activemq/sandbox/groupmq/eclipse-classes/org/apache/group/GroupMessageTest$2.class
URL: http://svn.apache.org/viewvc/activemq/sandbox/groupmq/eclipse-classes/org/apache/group/GroupMessageTest%242.class?rev=685612&view=auto
==============================================================================
Binary file - no diff available.

Propchange: activemq/sandbox/groupmq/eclipse-classes/org/apache/group/GroupMessageTest$2.class
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: activemq/sandbox/groupmq/eclipse-classes/org/apache/group/GroupMessageTest$3.class
URL: http://svn.apache.org/viewvc/activemq/sandbox/groupmq/eclipse-classes/org/apache/group/GroupMessageTest%243.class?rev=685612&view=auto
==============================================================================
Binary file - no diff available.

Propchange: activemq/sandbox/groupmq/eclipse-classes/org/apache/group/GroupMessageTest$3.class
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: activemq/sandbox/groupmq/eclipse-classes/org/apache/group/GroupMessageTest$4.class
URL: http://svn.apache.org/viewvc/activemq/sandbox/groupmq/eclipse-classes/org/apache/group/GroupMessageTest%244.class?rev=685612&view=auto
==============================================================================
Binary file - no diff available.

Propchange: activemq/sandbox/groupmq/eclipse-classes/org/apache/group/GroupMessageTest$4.class
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: activemq/sandbox/groupmq/eclipse-classes/org/apache/group/GroupMessageTest$5.class
URL: http://svn.apache.org/viewvc/activemq/sandbox/groupmq/eclipse-classes/org/apache/group/GroupMessageTest%245.class?rev=685612&view=auto
==============================================================================
Binary file - no diff available.

Propchange: activemq/sandbox/groupmq/eclipse-classes/org/apache/group/GroupMessageTest$5.class
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: activemq/sandbox/groupmq/eclipse-classes/org/apache/group/GroupMessageTest.class
URL: http://svn.apache.org/viewvc/activemq/sandbox/groupmq/eclipse-classes/org/apache/group/GroupMessageTest.class?rev=685612&view=auto
==============================================================================
Binary file - no diff available.

Propchange: activemq/sandbox/groupmq/eclipse-classes/org/apache/group/GroupMessageTest.class
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: activemq/sandbox/groupmq/eclipse-classes/org/apache/group/MapChangedListener.class
URL: http://svn.apache.org/viewvc/activemq/sandbox/groupmq/eclipse-classes/org/apache/group/MapChangedListener.class?rev=685612&view=auto
==============================================================================
Binary file - no diff available.

Propchange: activemq/sandbox/groupmq/eclipse-classes/org/apache/group/MapChangedListener.class
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: activemq/sandbox/groupmq/eclipse-classes/org/apache/group/MapRequest.class
URL: http://svn.apache.org/viewvc/activemq/sandbox/groupmq/eclipse-classes/org/apache/group/MapRequest.class?rev=685612&view=auto
==============================================================================
Binary file - no diff available.

Propchange: activemq/sandbox/groupmq/eclipse-classes/org/apache/group/MapRequest.class
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: activemq/sandbox/groupmq/eclipse-classes/org/apache/group/Member.class
URL: http://svn.apache.org/viewvc/activemq/sandbox/groupmq/eclipse-classes/org/apache/group/Member.class?rev=685612&view=auto
==============================================================================
Binary file - no diff available.

Propchange: activemq/sandbox/groupmq/eclipse-classes/org/apache/group/Member.class
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: activemq/sandbox/groupmq/eclipse-classes/org/apache/group/MemberChangedListener.class
URL: http://svn.apache.org/viewvc/activemq/sandbox/groupmq/eclipse-classes/org/apache/group/MemberChangedListener.class?rev=685612&view=auto
==============================================================================
Binary file - no diff available.

Propchange: activemq/sandbox/groupmq/eclipse-classes/org/apache/group/MemberChangedListener.class
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: activemq/sandbox/groupmq/eclipse-classes/org/apache/group/RequestCallback.class
URL: http://svn.apache.org/viewvc/activemq/sandbox/groupmq/eclipse-classes/org/apache/group/RequestCallback.class?rev=685612&view=auto
==============================================================================
Binary file - no diff available.

Propchange: activemq/sandbox/groupmq/eclipse-classes/org/apache/group/RequestCallback.class
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: activemq/sandbox/groupmq/pom.xml
URL: http://svn.apache.org/viewvc/activemq/sandbox/groupmq/pom.xml?rev=685612&view=auto
==============================================================================
--- activemq/sandbox/groupmq/pom.xml (added)
+++ activemq/sandbox/groupmq/pom.xml Wed Aug 13 10:05:07 2008
@@ -0,0 +1,93 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  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.
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+  <parent>
+    <groupId>org.apache</groupId>
+    <artifactId>apache</artifactId>
+    <version>4</version>
+  </parent>
+  <modelVersion>4.0.0</modelVersion>
+
+  <groupId>org.apache.activemq</groupId>
+  <artifactId>groupmq</artifactId>
+  <version>1.0-SNAPSHOT</version>
+
+  <dependencies>
+    <dependency>
+      <groupId>org.apache.geronimo.specs</groupId>
+      <artifactId>geronimo-jms_1.1_spec</artifactId>
+	  <version>1.1</version>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.activemq</groupId>
+      <artifactId>activemq-core</artifactId>
+	<version>5.2-SNAPSHOT</version>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.xbean</groupId>
+      <artifactId>xbean-spring</artifactId>
+    <version>3.3</version> 
+	</dependency> 
+    <dependency>
+      <groupId>org.springframework</groupId>
+      <artifactId>spring</artifactId>
+      <version>2.5.4</version>
+    </dependency>
+ 
+    <dependency>
+      <groupId>commons-logging</groupId>
+      <artifactId>commons-logging</artifactId>
+	  <version>1.1.1</version>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>log4j</groupId>
+      <artifactId>log4j</artifactId>
+ 	<version>1.2.14</version>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>junit</groupId>
+      <artifactId>junit</artifactId>
+      <version>3.8.1</version>
+      <scope>test</scope>
+    </dependency>
+	<dependency>
+      <groupId>org.apache.geronimo.specs</groupId>
+      <artifactId>geronimo-jms_1.1_spec</artifactId>
+	  <version>1.1</version>
+	<scope>test</scope>
+    </dependency>
+
+  </dependencies>
+
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-compiler-plugin</artifactId>
+        <configuration>
+          <source>1.5</source>
+          <target>1.5</target>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
+
+</project>

Propchange: activemq/sandbox/groupmq/pom.xml
------------------------------------------------------------------------------
    svn:executable = 

Added: activemq/sandbox/groupmq/src/main/java/org/apache/groupmq/AsyncMapRequest.java
URL: http://svn.apache.org/viewvc/activemq/sandbox/groupmq/src/main/java/org/apache/groupmq/AsyncMapRequest.java?rev=685612&view=auto
==============================================================================
--- activemq/sandbox/groupmq/src/main/java/org/apache/groupmq/AsyncMapRequest.java (added)
+++ activemq/sandbox/groupmq/src/main/java/org/apache/groupmq/AsyncMapRequest.java Wed Aug 13 10:05:07 2008
@@ -0,0 +1,61 @@
+/**
+ * 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.groupmq;
+
+import java.util.HashSet;
+import java.util.Set;
+
+/**
+ * Return information about map update
+ * 
+ */
+public class AsyncMapRequest implements RequestCallback{
+    private final Object mutex = new Object();
+    
+    private Set<String> requests = new HashSet<String>();
+
+    public void add(String id, MapRequest request) {
+        request.setCallback(this);
+        this.requests.add(id);
+    }
+    
+    /**
+     * Wait for requests
+     * @param timeout
+     * @return
+     */
+    public boolean isSuccess(long timeout) {
+        long deadline = System.currentTimeMillis() + timeout;
+        while (!this.requests.isEmpty()) {
+            synchronized (this.mutex) {
+                try {
+                    this.mutex.wait(timeout);
+                } catch (InterruptedException e) {
+                    break;
+                }
+            }
+            timeout = Math.max(deadline - System.currentTimeMillis(), 0);
+        }
+        return this.requests.isEmpty();
+    }
+
+    
+    public void finished(String id) {
+        this.requests.remove(id);
+        
+    }
+}
\ No newline at end of file

Propchange: activemq/sandbox/groupmq/src/main/java/org/apache/groupmq/AsyncMapRequest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: activemq/sandbox/groupmq/src/main/java/org/apache/groupmq/DefaultMapChangedListener.java
URL: http://svn.apache.org/viewvc/activemq/sandbox/groupmq/src/main/java/org/apache/groupmq/DefaultMapChangedListener.java?rev=685612&view=auto
==============================================================================
--- activemq/sandbox/groupmq/src/main/java/org/apache/groupmq/DefaultMapChangedListener.java (added)
+++ activemq/sandbox/groupmq/src/main/java/org/apache/groupmq/DefaultMapChangedListener.java Wed Aug 13 10:05:07 2008
@@ -0,0 +1,33 @@
+/**
+ * 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.groupmq;
+
+/**
+ * Default implementation of a MapChangedListener
+ *
+ */
+public class DefaultMapChangedListener implements GroupStateChangedListener{
+
+    public void mapInsert(Member owner, Object key, Object value) {   
+    }
+
+    public void mapRemove(Member owner, Object key, Object value,boolean expired) {  
+    }
+
+    public void mapUpdate(Member owner, Object key, Object oldValue,Object newValue) {
+    }
+}

Propchange: activemq/sandbox/groupmq/src/main/java/org/apache/groupmq/DefaultMapChangedListener.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: activemq/sandbox/groupmq/src/main/java/org/apache/groupmq/ElectionMessage.java
URL: http://svn.apache.org/viewvc/activemq/sandbox/groupmq/src/main/java/org/apache/groupmq/ElectionMessage.java?rev=685612&view=auto
==============================================================================
--- activemq/sandbox/groupmq/src/main/java/org/apache/groupmq/ElectionMessage.java (added)
+++ activemq/sandbox/groupmq/src/main/java/org/apache/groupmq/ElectionMessage.java Wed Aug 13 10:05:07 2008
@@ -0,0 +1,105 @@
+/**
+ * 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.groupmq;
+
+import java.io.Externalizable;
+import java.io.IOException;
+import java.io.ObjectInput;
+import java.io.ObjectOutput;
+
+/**
+ * Used to pass information around
+ *
+ */
+public class ElectionMessage implements Externalizable{
+    static enum MessageType{ELECTION,ANSWER,COORDINATOR};
+    private Member member;
+    private MessageType type;
+    
+    /**
+     * @return the member
+     */
+    public Member getMember() {
+        return this.member;
+    }
+
+    /**
+     * @param member the member to set
+     */
+    public void setMember(Member member) {
+        this.member = member;
+    }
+
+    /**
+     * @return the type
+     */
+    public MessageType getType() {
+        return this.type;
+    }
+
+    /**
+     * @param type the type to set
+     */
+    public void setType(MessageType type) {
+        this.type = type;
+    }
+    
+    /**
+     * @return true if election message
+     */
+    public boolean isElection() {
+        return this.type != null && this.type.equals(MessageType.ELECTION);
+    }
+    
+    /**
+     * @return true if answer message
+     */
+    public boolean isAnswer() {
+        return this.type != null && this.type.equals(MessageType.ANSWER);
+    }
+    
+    /**
+     * @return true if coordinator message
+     */
+    public boolean isCoordinator() {
+        return this.type != null && this.type.equals(MessageType.COORDINATOR);
+    }
+    
+        
+    public ElectionMessage copy() {
+        ElectionMessage result = new ElectionMessage();
+        result.member=this.member;
+        result.type=this.type;
+        return result;
+    }
+    
+    
+    public void readExternal(ObjectInput in) throws IOException,
+            ClassNotFoundException {
+        this.member=(Member) in.readObject();
+        this.type=(MessageType) in.readObject();
+    }
+    
+    public void writeExternal(ObjectOutput out) throws IOException {
+        out.writeObject(this.member);
+        out.writeObject(this.type);
+    }
+    
+    public String toString() {
+        return "ElectionMessage: "+ this.member + "{"+this.type+ "}";
+    }
+}

Propchange: activemq/sandbox/groupmq/src/main/java/org/apache/groupmq/ElectionMessage.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: activemq/sandbox/groupmq/src/main/java/org/apache/groupmq/EntryKey.java
URL: http://svn.apache.org/viewvc/activemq/sandbox/groupmq/src/main/java/org/apache/groupmq/EntryKey.java?rev=685612&view=auto
==============================================================================
--- activemq/sandbox/groupmq/src/main/java/org/apache/groupmq/EntryKey.java (added)
+++ activemq/sandbox/groupmq/src/main/java/org/apache/groupmq/EntryKey.java Wed Aug 13 10:05:07 2008
@@ -0,0 +1,209 @@
+/**
+ * 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.groupmq;
+
+import java.io.Externalizable;
+import java.io.IOException;
+import java.io.ObjectInput;
+import java.io.ObjectOutput;
+
+/**
+ * Holds information about an EntryKey
+ * 
+ */
+class EntryKey<K> implements Externalizable {
+    private Member owner;
+    private K key;
+    private boolean locked;
+    private boolean removeOnExit;
+    private boolean releaseLockOnExit;
+    private long expiration;
+    private long lockExpiration;
+
+    /**
+     * Default constructor - for serialization
+     */
+    public EntryKey() {
+    }
+
+    EntryKey(Member owner, K key) {
+        this.owner = owner;
+        this.key = key;
+    }
+
+    public int hashCode() {
+        return this.key != null ? this.key.hashCode() : super.hashCode();
+    }
+
+    /**
+     * @return the owner
+     */
+    public Member getOwner() {
+        return this.owner;
+    }
+    
+    public void setOwner(Member member) {
+        this.owner=member;
+    }
+
+    /**
+     * @return the key
+     */
+    public K getKey() {
+        return this.key;
+    }
+    
+    /**
+     * @return the share
+     */
+    public boolean isLocked() {
+        return this.locked;
+    }
+
+    /**
+     * @param share the share to set
+     */
+    public void setLocked(boolean locked) {
+        this.locked = locked;
+    }
+
+    /**
+     * @return the removeOnExit
+     */
+    public boolean isRemoveOnExit() {
+        return this.removeOnExit;
+    }
+
+    /**
+     * @param removeOnExit
+     *            the removeOnExit to set
+     */
+    public void setRemoveOnExit(boolean removeOnExit) {
+        this.removeOnExit = removeOnExit;
+    }
+    
+    /**
+     * @return the expiration
+     */
+    public long getExpiration() {
+        return expiration;
+    }
+
+    /**
+     * @param expiration the expiration to set
+     */
+    public void setExpiration(long expiration) {
+        this.expiration = expiration;
+    }
+    
+    /**
+     * @return the lockExpiration
+     */
+    public long getLockExpiration() {
+        return lockExpiration;
+    }
+
+    /**
+     * @param lockExpiration the lockExpiration to set
+     */
+    public void setLockExpiration(long lockExpiration) {
+        this.lockExpiration = lockExpiration;
+    }
+
+    /**
+     * @return the releaseLockOnExit
+     */
+    public boolean isReleaseLockOnExit() {
+        return releaseLockOnExit;
+    }
+
+    /**
+     * @param releaseLockOnExit the releaseLockOnExit to set
+     */
+    public void setReleaseLockOnExit(boolean releaseLockOnExit) {
+        this.releaseLockOnExit = releaseLockOnExit;
+    }
+    
+    void setTimeToLive(long ttl) {
+        if (ttl > 0 ) {
+            this.expiration=ttl+System.currentTimeMillis();
+        }else {
+            this.expiration =0l;
+        }
+    }
+    
+    void setLockLeaseTime(long ttl) {
+        if(ttl > 0) {
+            this.lockExpiration=ttl+System.currentTimeMillis();
+        }else {
+            this.lockExpiration=0l;
+        }
+    }
+    
+    boolean isExpired() {
+        return isExpired(System.currentTimeMillis());
+    }
+    
+    boolean isExpired(long currentTime) {
+        return this.expiration > 0 && this.expiration < currentTime;
+    }
+    
+    boolean isLockExpired() {
+        return isLockExpired(System.currentTimeMillis());
+    }
+    
+    boolean isLockExpired(long currentTime) {
+        return this.lockExpiration > 0 && this.lockExpiration < currentTime;
+    }
+    
+   
+    public boolean equals(Object obj) {
+        boolean result = false;
+        if (obj instanceof EntryKey) {
+            EntryKey other = (EntryKey) obj;
+            result = other.key.equals(this.key);
+        }
+        return result;
+    }
+
+    public void writeExternal(ObjectOutput out) throws IOException {
+        out.writeObject(this.owner);
+        out.writeObject(this.key);
+        out.writeBoolean(isLocked());
+        out.writeBoolean(isRemoveOnExit());
+        out.writeBoolean(isReleaseLockOnExit());
+        out.writeLong(getExpiration());
+        out.writeLong(getLockExpiration());
+    }
+
+    public void readExternal(ObjectInput in) throws IOException,
+            ClassNotFoundException {
+        this.owner = (Member) in.readObject();
+        this.key = (K) in.readObject();
+        this.locked = in.readBoolean();
+        this.removeOnExit=in.readBoolean();
+        this.releaseLockOnExit=in.readBoolean();
+        this.expiration=in.readLong();
+        this.lockExpiration=in.readLong();
+    }
+    
+    public String toString() {
+        return "key:"+this.key;
+    }
+
+    
+}

Propchange: activemq/sandbox/groupmq/src/main/java/org/apache/groupmq/EntryKey.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: activemq/sandbox/groupmq/src/main/java/org/apache/groupmq/EntryMessage.java
URL: http://svn.apache.org/viewvc/activemq/sandbox/groupmq/src/main/java/org/apache/groupmq/EntryMessage.java?rev=685612&view=auto
==============================================================================
--- activemq/sandbox/groupmq/src/main/java/org/apache/groupmq/EntryMessage.java (added)
+++ activemq/sandbox/groupmq/src/main/java/org/apache/groupmq/EntryMessage.java Wed Aug 13 10:05:07 2008
@@ -0,0 +1,204 @@
+/**
+ * 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.groupmq;
+
+import java.io.Externalizable;
+import java.io.IOException;
+import java.io.ObjectInput;
+import java.io.ObjectOutput;
+
+/**
+ * Used to pass information around
+ *
+ */
+public class EntryMessage implements Externalizable{
+    static enum MessageType{INSERT,DELETE,SYNC};
+    private EntryKey key;
+    private Object value;
+    private Object oldValue;
+    private MessageType type;
+    private boolean mapUpdate;
+    private boolean expired;
+    private boolean lockExpired;
+    private boolean lockUpdate;
+    
+    /**
+     * @return the owner
+     */
+    public EntryKey getKey() {
+        return this.key;
+    }
+    /**
+     * @param key
+     */
+    public void setKey(EntryKey key) {
+        this.key = key;
+    }
+    /**
+     * @return the value
+     */
+    public Object getValue() {
+        return this.value;
+    }
+    /**
+     * @param value the value to set
+     */
+    public void setValue(Object value) {
+        this.value = value;
+    }
+    
+    /**
+     * @return the oldValue
+     */
+    public Object getOldValue() {
+        return this.oldValue;
+    }
+    /**
+     * @param oldValue the oldValue to set
+     */
+    public void setOldValue(Object oldValue) {
+        this.oldValue = oldValue;
+    }
+    
+    /**
+     * @return the type
+     */
+    public MessageType getType() {
+        return this.type;
+    }
+    /**
+     * @param type the type to set
+     */
+    public void setType(MessageType type) {
+        this.type = type;
+    }
+    
+    /**
+     * @return the mapUpdate
+     */
+    public boolean isMapUpdate() {
+        return this.mapUpdate;
+    }
+    /**
+     * @param mapUpdate the mapUpdate to set
+     */
+    public void setMapUpdate(boolean mapUpdate) {
+        this.mapUpdate = mapUpdate;
+    }
+    
+    /**
+     * @return the expired
+     */
+    public boolean isExpired() {
+        return expired;
+    }
+    /**
+     * @param expired the expired to set
+     */
+    public void setExpired(boolean expired) {
+        this.expired = expired;
+    }
+    
+    /**
+     * @return the lockExpired
+     */
+    public boolean isLockExpired() {
+        return lockExpired;
+    }
+    /**
+     * @param lockExpired the lockExpired to set
+     */
+    public void setLockExpired(boolean lockExpired) {
+        this.lockExpired = lockExpired;
+    }
+    
+    /**
+     * @return the lockUpdate
+     */
+    public boolean isLockUpdate() {
+        return lockUpdate;
+    }
+    /**
+     * @param lockUpdate the lockUpdate to set
+     */
+    public void setLockUpdate(boolean lockUpdate) {
+        this.lockUpdate = lockUpdate;
+    }
+    
+    /**
+     * @return if insert message
+     */
+    public boolean isInsert() {
+        return this.type != null && this.type.equals(MessageType.INSERT);
+    }
+    
+    /**
+     * @return true if delete message
+     */
+    public boolean isDelete() {
+        return this.type != null && this.type.equals(MessageType.DELETE);
+    }
+    
+    public boolean isSync() {
+        return this.type != null && this.type.equals(MessageType.SYNC);
+    }
+    
+    
+    public EntryMessage copy() {
+        EntryMessage result = new EntryMessage();
+        result.key=this.key;
+        result.value=this.value;
+        result.oldValue=this.oldValue;
+        result.type=this.type;
+        result.mapUpdate=this.mapUpdate;
+        result.expired=this.expired;
+        result.lockExpired=this.lockExpired;
+        result.lockUpdate=this.lockUpdate;
+        return result;
+    }
+    
+    
+    
+    public void readExternal(ObjectInput in) throws IOException,
+            ClassNotFoundException {
+        this.key=(EntryKey) in.readObject();
+        this.value=in.readObject();
+        this.oldValue=in.readObject();
+        this.type=(MessageType) in.readObject();  
+        this.mapUpdate=in.readBoolean();
+        this.expired=in.readBoolean();
+        this.lockExpired=in.readBoolean();
+        this.lockUpdate=in.readBoolean();
+    }
+    
+    public void writeExternal(ObjectOutput out) throws IOException {
+        out.writeObject(this.key);
+        out.writeObject(this.value);
+        out.writeObject(this.oldValue);
+        out.writeObject(this.type);
+        out.writeBoolean(this.mapUpdate);
+        out.writeBoolean(this.expired);
+        out.writeBoolean(this.lockExpired);
+        out.writeBoolean(this.lockUpdate);
+    }
+    
+    public String toString() {
+        return "EntryMessage: "+this.type + "[" + this.key + "," + this.value +
+            "]{update=" + this.mapUpdate + "}";
+    }
+    
+}

Propchange: activemq/sandbox/groupmq/src/main/java/org/apache/groupmq/EntryMessage.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: activemq/sandbox/groupmq/src/main/java/org/apache/groupmq/EntryValue.java
URL: http://svn.apache.org/viewvc/activemq/sandbox/groupmq/src/main/java/org/apache/groupmq/EntryValue.java?rev=685612&view=auto
==============================================================================
--- activemq/sandbox/groupmq/src/main/java/org/apache/groupmq/EntryValue.java (added)
+++ activemq/sandbox/groupmq/src/main/java/org/apache/groupmq/EntryValue.java Wed Aug 13 10:05:07 2008
@@ -0,0 +1,70 @@
+/**
+ * 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 VIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.groupmq;
+
+
+/**
+ * Holds information about the Value in the Map
+ *
+ */
+class EntryValue<V> {
+    private EntryKey key;
+    private V value;
+    
+    
+    EntryValue(EntryKey key, V value){
+        this.key=key;
+        this.value=value;
+    }
+    
+    /**
+     * @return the owner
+     */
+    public EntryKey getKey() {
+        return this.key;
+    }
+
+    /**
+     * @return the key
+     */
+    public V getValue() {
+        return this.value;
+    }
+    
+    /**
+     * set the value
+     * @param value
+     */
+    public void setValue(V value) {
+        this.value=value;
+    }
+    
+    public int hashCode() {
+        return this.value != null ? this.value.hashCode() : super.hashCode();
+    }
+    
+    public boolean equals(Object obj) {
+        boolean result = false;
+        if (obj instanceof EntryValue) {
+            EntryValue other = (EntryValue)obj;
+            result = (this.value==null && other.value==null) ||
+                (this.value != null && other.value != null && this.value.equals(other.value));
+        }
+        return result;
+    }
+}
+

Propchange: activemq/sandbox/groupmq/src/main/java/org/apache/groupmq/EntryValue.java
------------------------------------------------------------------------------
    svn:eol-style = native



Mime
View raw message