You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwebbeans.apache.org by st...@apache.org on 2009/03/13 08:46:42 UTC

svn commit: r753150 - in /incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/context: ConversationScoped.java SessionScoped.java

Author: struberg
Date: Fri Mar 13 07:46:41 2009
New Revision: 753150

URL: http://svn.apache.org/viewvc?rev=753150&view=rev
Log:
OWB-83 allow passivation of ConversationScoped and SessionScoped

Modified:
    incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/context/ConversationScoped.java
    incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/context/SessionScoped.java

Modified: incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/context/ConversationScoped.java
URL: http://svn.apache.org/viewvc/incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/context/ConversationScoped.java?rev=753150&r1=753149&r2=753150&view=diff
==============================================================================
--- incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/context/ConversationScoped.java (original)
+++ incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/context/ConversationScoped.java Fri Mar 13 07:46:41 2009
@@ -19,7 +19,7 @@
 import java.lang.annotation.RetentionPolicy;
 import java.lang.annotation.Target;
 
-@ScopeType
+@ScopeType(passivating=true)
 @Target( { ElementType.TYPE, ElementType.METHOD })
 @Retention(RetentionPolicy.RUNTIME)
 @Inherited

Modified: incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/context/SessionScoped.java
URL: http://svn.apache.org/viewvc/incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/context/SessionScoped.java?rev=753150&r1=753149&r2=753150&view=diff
==============================================================================
--- incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/context/SessionScoped.java (original)
+++ incubator/openwebbeans/trunk/webbeans-api/src/main/java/javax/context/SessionScoped.java Fri Mar 13 07:46:41 2009
@@ -26,7 +26,7 @@
 @Target( { TYPE, METHOD, FIELD})
 @Retention(RUNTIME)
 @Documented
-@ScopeType
+@ScopeType(passivating=true)
 @Inherited
 public @interface SessionScoped
 {