openwebbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From strub...@apache.org
Subject svn commit: r967054 - /openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/context/AbstractContext.java
Date Fri, 23 Jul 2010 11:52:23 GMT
Author: struberg
Date: Fri Jul 23 11:52:23 2010
New Revision: 967054

URL: http://svn.apache.org/viewvc?rev=967054&view=rev
Log:
OWB-420 SingletonContext was wrongly mapped to @ConversationScoped

txs 2 gpetracek for the patch!

Modified:
    openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/context/AbstractContext.java

Modified: openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/context/AbstractContext.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/context/AbstractContext.java?rev=967054&r1=967053&r2=967054&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/context/AbstractContext.java
(original)
+++ openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/context/AbstractContext.java
Fri Jul 23 11:52:23 2010
@@ -35,6 +35,7 @@ import javax.enterprise.context.RequestS
 import javax.enterprise.context.SessionScoped;
 import javax.enterprise.context.spi.Contextual;
 import javax.enterprise.context.spi.CreationalContext;
+import javax.inject.Singleton;
 
 import org.apache.webbeans.container.SerializableBean;
 import org.apache.webbeans.container.SerializableBeanVault;
@@ -153,7 +154,7 @@ public abstract class AbstractContext im
         }
         else if (type.equals(ContextTypes.SINGLETON))
         {
-            this.scopeType = ConversationScoped.class;
+            this.scopeType = Singleton.class;
         }
         else
         {



Mime
View raw message