Commit b7b03fe0aa5aa30bca8c413c0ee2b6bf02111dca

Authored by Dancovich
1 parent e9e17089
Exists in master

Marcando escopo ViewScoped como passivavel, significando que o container

pode serializar beans armazenados nesse escopo.
impl/core/src/main/java/br/gov/frameworkdemoiselle/annotation/ViewScoped.java
@@ -55,7 +55,7 @@ import javax.enterprise.context.NormalScope; @@ -55,7 +55,7 @@ import javax.enterprise.context.NormalScope;
55 @Inherited 55 @Inherited
56 @Target({ METHOD, TYPE, FIELD }) 56 @Target({ METHOD, TYPE, FIELD })
57 @Retention(RUNTIME) 57 @Retention(RUNTIME)
58 -@NormalScope 58 +@NormalScope(passivating=true)
59 public @interface ViewScoped { 59 public @interface ViewScoped {
60 60
61 } 61 }