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

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Tue Nov 13 22:53:20 EST 2007


Author: ALRubinger
Date: 2007-11-13 22:53:20 -0500 (Tue, 13 Nov 2007)
New Revision: 67055

Added:
   projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/Pool.java
Removed:
   projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/PoolClass.java
Log:
Moved new @Pool to External API

Added: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/Pool.java
===================================================================
--- projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/Pool.java	                        (rev 0)
+++ projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/Pool.java	2007-11-14 03:53:20 UTC (rev 67055)
@@ -0,0 +1,42 @@
+/*
+ * 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 java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+/**
+ * Annotation for specifying the pool class to manage thread pooling for a bean
+ *
+ * @author <a href="mailto:bill at jboss.org">Bill Burke</a>
+ * @version $Revision: 67042 $
+ */
+ at Retention(RetentionPolicy.RUNTIME)
+ at Target({ElementType.TYPE})
+public @interface Pool
+{
+   String value();
+   int maxSize() default 30;
+   long timeout()default Long.MAX_VALUE;
+}


Property changes on: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/Pool.java
___________________________________________________________________
Name: svn:mime-type
   + text/plain

Deleted: projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/PoolClass.java
===================================================================
--- projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/PoolClass.java	2007-11-14 02:31:37 UTC (rev 67054)
+++ projects/ejb3/trunk/ejb3-ext-api/src/main/java/org/jboss/annotation/ejb/PoolClass.java	2007-11-14 03:53:20 UTC (rev 67055)
@@ -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.ejb;
-
-import java.lang.annotation.ElementType;
-import java.lang.annotation.Retention;
-import java.lang.annotation.RetentionPolicy;
-import java.lang.annotation.Target;
-
-import org.jboss.ejb3.Pool;
-
-/**
- * Annotation for specifying the pool class to manage thread pooling for a bean
- *
- * @author <a href="mailto:bill at jboss.org">Bill Burke</a>
- * @version $Revision: 61136 $
- */
- at Retention(RetentionPolicy.RUNTIME)
- at Target({ElementType.TYPE})
-public @interface PoolClass
-{
-   Class<? extends Pool> value();
-   int maxSize() default 30;
-   long timeout()default Long.MAX_VALUE;
-}




More information about the jboss-cvs-commits mailing list