[jboss-cvs] JBossAS SVN: r67092 - in trunk: cluster/src/main/org/jboss/annotation/ejb and 1 other directories.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Wed Nov 14 15:14:32 EST 2007


Author: ALRubinger
Date: 2007-11-14 15:14:31 -0500 (Wed, 14 Nov 2007)
New Revision: 67092

Added:
   trunk/cluster/src/main/org/jboss/annotation/ejb/
   trunk/cluster/src/main/org/jboss/annotation/ejb/Clustered.java
   trunk/ejb3/src/main/org/jboss/annotation/ejb/ClusteredImpl.java
Removed:
   trunk/cluster/src/main/org/jboss/annotation/ejb/Clustered.java
   trunk/cluster/src/main/org/jboss/annotation/ejb/ClusteredImpl.java
Log:
Moved @Clustered to EJB package within cluster project, ClusteredImpl back to EJB3 Core

Copied: trunk/cluster/src/main/org/jboss/annotation/ejb (from rev 67057, trunk/cluster/src/main/org/jboss/annotation/ha)

Deleted: trunk/cluster/src/main/org/jboss/annotation/ejb/Clustered.java
===================================================================
--- trunk/cluster/src/main/org/jboss/annotation/ha/Clustered.java	2007-11-14 04:02:03 UTC (rev 67057)
+++ trunk/cluster/src/main/org/jboss/annotation/ejb/Clustered.java	2007-11-14 20:14:31 UTC (rev 67092)
@@ -1,44 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2006, Red Hat Middleware LLC, and individual contributors
- * as indicated by the @author tags. See the copyright.txt file in the
- * distribution for a full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.annotation.ha;
-
-import org.jboss.ha.framework.interfaces.LoadBalancePolicy;
-
-import java.lang.annotation.ElementType;
-import java.lang.annotation.Retention;
-import java.lang.annotation.RetentionPolicy;
-import java.lang.annotation.Target;
-
-/**
- * Annotation for specifying that a bean should be clustered
- *
- * @author <a href="mailto:bill at jboss.org">Bill Burke</a>
- * @version $Revision$
- */
- at Target(ElementType.TYPE)
- at Retention(RetentionPolicy.RUNTIME)
-public @interface Clustered
-{
-   Class<? extends LoadBalancePolicy> loadBalancePolicy() default LoadBalancePolicy.class;
-
-   String partition() default "${jboss.partition.name:DefaultPartition}";
-}

Copied: trunk/cluster/src/main/org/jboss/annotation/ejb/Clustered.java (from rev 67084, trunk/cluster/src/main/org/jboss/annotation/ha/Clustered.java)
===================================================================
--- trunk/cluster/src/main/org/jboss/annotation/ejb/Clustered.java	                        (rev 0)
+++ trunk/cluster/src/main/org/jboss/annotation/ejb/Clustered.java	2007-11-14 20:14:31 UTC (rev 67092)
@@ -0,0 +1,44 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.annotation.ejb;
+
+import org.jboss.ha.framework.interfaces.LoadBalancePolicy;
+
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+/**
+ * Annotation for specifying that a bean should be clustered
+ *
+ * @author <a href="mailto:bill at jboss.org">Bill Burke</a>
+ * @version $Revision$
+ */
+ at Target(ElementType.TYPE)
+ at Retention(RetentionPolicy.RUNTIME)
+public @interface Clustered
+{
+   Class<? extends LoadBalancePolicy> loadBalancePolicy() default LoadBalancePolicy.class;
+
+   String partition() default "${jboss.partition.name:DefaultPartition}";
+}

Deleted: trunk/cluster/src/main/org/jboss/annotation/ejb/ClusteredImpl.java
===================================================================
--- trunk/cluster/src/main/org/jboss/annotation/ha/ClusteredImpl.java	2007-11-14 04:02:03 UTC (rev 67057)
+++ trunk/cluster/src/main/org/jboss/annotation/ejb/ClusteredImpl.java	2007-11-14 20:14:31 UTC (rev 67092)
@@ -1,72 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2006, Red Hat Middleware LLC, and individual contributors
- * as indicated by the @author tags. See the copyright.txt file in the
- * distribution for a full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.annotation.ha;
-
-import org.jboss.ha.framework.interfaces.LoadBalancePolicy;
-
-/**
- * Comment
- *
- * @author <a href="mailto:bill at jboss.org">Bill Burke</a>
- * @version $Revision$
- */
-public class ClusteredImpl implements Clustered
-{
-   private Class loadBalancePolicy = LoadBalancePolicy.class;
-   private String partition = "${jboss.partition.name:DefaultPartition}";
-   
-
-   public Class loadBalancePolicy()
-   {
-      return loadBalancePolicy;
-   }
-   
-   public void setLoadBalancePolicy(Class loadBalancePolicy)
-   {
-      this.loadBalancePolicy = loadBalancePolicy;
-   }
-
-   public String partition()
-   {
-      return partition;
-   }
-   
-   public void setPartition(String partition)
-   {
-      this.partition = partition;
-   }
-
-   public Class annotationType()
-   {
-      return Clustered.class;
-   }
-   
-   public String toString()
-   {
-      StringBuffer sb = new StringBuffer(100);
-      sb.append("[");
-      sb.append("loadBalancePolicy=").append(loadBalancePolicy);
-      sb.append("partition=").append(partition);
-      sb.append("]");
-      return sb.toString();
-   }
-}

Copied: trunk/ejb3/src/main/org/jboss/annotation/ejb/ClusteredImpl.java (from rev 67057, trunk/cluster/src/main/org/jboss/annotation/ha/ClusteredImpl.java)
===================================================================
--- trunk/ejb3/src/main/org/jboss/annotation/ejb/ClusteredImpl.java	                        (rev 0)
+++ trunk/ejb3/src/main/org/jboss/annotation/ejb/ClusteredImpl.java	2007-11-14 20:14:31 UTC (rev 67092)
@@ -0,0 +1,73 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.annotation.ejb;
+
+import org.jboss.annotation.ejb.Clustered;
+import org.jboss.ha.framework.interfaces.LoadBalancePolicy;
+
+/**
+ * Comment
+ *
+ * @author <a href="mailto:bill at jboss.org">Bill Burke</a>
+ * @version $Revision$
+ */
+public class ClusteredImpl implements Clustered
+{
+   private Class loadBalancePolicy = LoadBalancePolicy.class;
+   private String partition = "${jboss.partition.name:DefaultPartition}";
+   
+
+   public Class loadBalancePolicy()
+   {
+      return loadBalancePolicy;
+   }
+   
+   public void setLoadBalancePolicy(Class loadBalancePolicy)
+   {
+      this.loadBalancePolicy = loadBalancePolicy;
+   }
+
+   public String partition()
+   {
+      return partition;
+   }
+   
+   public void setPartition(String partition)
+   {
+      this.partition = partition;
+   }
+
+   public Class annotationType()
+   {
+      return Clustered.class;
+   }
+   
+   public String toString()
+   {
+      StringBuffer sb = new StringBuffer(100);
+      sb.append("[");
+      sb.append("loadBalancePolicy=").append(loadBalancePolicy);
+      sb.append("partition=").append(partition);
+      sb.append("]");
+      return sb.toString();
+   }
+}


Property changes on: trunk/ejb3/src/main/org/jboss/annotation/ejb/ClusteredImpl.java
___________________________________________________________________
Name: svn:keywords
   + Author Date Id Revision
Name: svn:eol-style
   + native




More information about the jboss-cvs-commits mailing list