Skip to content

Commit

Permalink
Add a marker interface for @New beans
Browse files Browse the repository at this point in the history
git-svn-id: http://anonsvn.jboss.org/repos/weld/ri/trunk@2130 1c488680-804c-0410-94cd-c6b725194a0e
  • Loading branch information
pmuir committed Mar 22, 2009
1 parent 78d3129 commit e5c26b6
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
12 changes: 12 additions & 0 deletions impl/src/main/java/org/jboss/webbeans/bean/NewBean.java
@@ -0,0 +1,12 @@
package org.jboss.webbeans.bean;

/**
* Marker interface for @New beans
*
* @author Pete Muir
*
*/
public interface NewBean
{

}
Expand Up @@ -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()));

Expand Down
Expand Up @@ -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()));

Expand Down

0 comments on commit e5c26b6

Please sign in to comment.