Author: pete.muir(a)jboss.org
Date: 2009-03-22 09:24:30 -0400 (Sun, 22 Mar 2009)
New Revision: 2130
Added:
ri/trunk/impl/src/main/java/org/jboss/webbeans/bean/NewBean.java
Modified:
ri/trunk/impl/src/main/java/org/jboss/webbeans/bean/NewEnterpriseBean.java
ri/trunk/impl/src/main/java/org/jboss/webbeans/bean/NewSimpleBean.java
Log:
Add a marker interface for @New beans
Added: ri/trunk/impl/src/main/java/org/jboss/webbeans/bean/NewBean.java
===================================================================
--- ri/trunk/impl/src/main/java/org/jboss/webbeans/bean/NewBean.java
(rev 0)
+++ ri/trunk/impl/src/main/java/org/jboss/webbeans/bean/NewBean.java 2009-03-22 13:24:30
UTC (rev 2130)
@@ -0,0 +1,12 @@
+package org.jboss.webbeans.bean;
+
+/**
+ * Marker interface for @New beans
+ *
+ * @author Pete Muir
+ *
+ */
+public interface NewBean
+{
+
+}
Property changes on: ri/trunk/impl/src/main/java/org/jboss/webbeans/bean/NewBean.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Modified: ri/trunk/impl/src/main/java/org/jboss/webbeans/bean/NewEnterpriseBean.java
===================================================================
--- ri/trunk/impl/src/main/java/org/jboss/webbeans/bean/NewEnterpriseBean.java 2009-03-22
10:42:28 UTC (rev 2129)
+++ ri/trunk/impl/src/main/java/org/jboss/webbeans/bean/NewEnterpriseBean.java 2009-03-22
13:24:30 UTC (rev 2130)
@@ -33,7 +33,7 @@
*
* @author Nicklas Karlsson
*/
-public class NewEnterpriseBean<T> extends EnterpriseBean<T>
+public class NewEnterpriseBean<T> extends EnterpriseBean<T> implements
NewBean
{
private static Set<Annotation> NEW_BINDING_SET = new
HashSet<Annotation>(Arrays.asList(new NewLiteral()));
Modified: ri/trunk/impl/src/main/java/org/jboss/webbeans/bean/NewSimpleBean.java
===================================================================
--- ri/trunk/impl/src/main/java/org/jboss/webbeans/bean/NewSimpleBean.java 2009-03-22
10:42:28 UTC (rev 2129)
+++ ri/trunk/impl/src/main/java/org/jboss/webbeans/bean/NewSimpleBean.java 2009-03-22
13:24:30 UTC (rev 2130)
@@ -34,7 +34,7 @@
*
* @author Nicklas Karlsson
*/
-public class NewSimpleBean<T> extends SimpleBean<T>
+public class NewSimpleBean<T> extends SimpleBean<T> implements NewBean
{
private static Set<Annotation> NEW_BINDING_SET = new
HashSet<Annotation>(Arrays.asList(new NewLiteral()));
Show replies by date