Commit a528ea085da279f2ed859fa3f14d7913f6094cda
1 parent
b54737a9
Exists in
master
Correção do erro de ambiguidade
Showing
1 changed file
with
3 additions
and
0 deletions
Show diff stats
impl/core/src/main/java/br/gov/frameworkdemoiselle/transaction/TransactionalInterceptor.java
@@ -39,6 +39,8 @@ package br.gov.frameworkdemoiselle.transaction; | @@ -39,6 +39,8 @@ package br.gov.frameworkdemoiselle.transaction; | ||
39 | import java.io.Serializable; | 39 | import java.io.Serializable; |
40 | 40 | ||
41 | import javax.enterprise.context.ContextNotActiveException; | 41 | import javax.enterprise.context.ContextNotActiveException; |
42 | +import javax.enterprise.inject.Any; | ||
43 | +import javax.enterprise.inject.New; | ||
42 | import javax.interceptor.AroundInvoke; | 44 | import javax.interceptor.AroundInvoke; |
43 | import javax.interceptor.Interceptor; | 45 | import javax.interceptor.Interceptor; |
44 | import javax.interceptor.InvocationContext; | 46 | import javax.interceptor.InvocationContext; |
@@ -187,6 +189,7 @@ public class TransactionalInterceptor implements Serializable { | @@ -187,6 +189,7 @@ public class TransactionalInterceptor implements Serializable { | ||
187 | return logger; | 189 | return logger; |
188 | } | 190 | } |
189 | 191 | ||
192 | + @Any | ||
190 | static class VoidTransactionInfo extends TransactionInfo { | 193 | static class VoidTransactionInfo extends TransactionInfo { |
191 | 194 | ||
192 | private static final long serialVersionUID = 1L; | 195 | private static final long serialVersionUID = 1L; |