[jboss-cvs] JBossAS SVN: r68409 - projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/defaults.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Wed Dec 19 06:42:05 EST 2007


Author: ALRubinger
Date: 2007-12-19 06:42:04 -0500 (Wed, 19 Dec 2007)
New Revision: 68409

Added:
   projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/defaults/ClusteredDefaults.java
Log:
[EJBTHREE-1167] Added defaults for @Clustered annotation before resolving API Leak

Added: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/defaults/ClusteredDefaults.java
===================================================================
--- projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/defaults/ClusteredDefaults.java	                        (rev 0)
+++ projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/ejb3/annotation/defaults/ClusteredDefaults.java	2007-12-19 11:42:04 UTC (rev 68409)
@@ -0,0 +1,35 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2007, 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.ejb3.annotation.defaults;
+
+/**
+ * Default values for the @Clustered Annotation
+ * 
+ * @author <a href="mailto:andrew.rubinger at redhat.com">ALR</a>
+ * @version $Revision: $
+ */
+public interface ClusteredDefaults
+{
+   String LOAD_BALANCE_POLICY_DEFAULT = "LoadBalancePolicy";
+   
+   String PARTITION_NAME_DEFAULT = "${jboss.partition.name:DefaultPartition}";
+}




More information about the jboss-cvs-commits mailing list