openwebbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kelap...@apache.org
Subject svn commit: r1005881 - /openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/intercept/InterceptorDataImpl.java
Date Fri, 08 Oct 2010 16:18:05 GMT
Author: kelapure
Date: Fri Oct  8 16:18:05 2010
New Revision: 1005881

URL: http://svn.apache.org/viewvc?rev=1005881&view=rev
Log:
OWB-422 Support needed for PrePassivate, PostActivate, and AroundTimeout via EJBInterceptor.
https://issues.apache.org/jira/browse/OWB-422
prePassivate and postActivate are ALSO valid lifecycle callbacks

Modified:
    openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/intercept/InterceptorDataImpl.java

Modified: openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/intercept/InterceptorDataImpl.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/intercept/InterceptorDataImpl.java?rev=1005881&r1=1005880&r2=1005881&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/intercept/InterceptorDataImpl.java
(original)
+++ openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/intercept/InterceptorDataImpl.java
Fri Oct  8 16:18:05 2010
@@ -394,7 +394,7 @@ public class InterceptorDataImpl impleme
     @Override
     public boolean isLifecycleInterceptor()
     {
-        if (this.preDestroy != null || this.postConstruct != null)
+        if (this.preDestroy != null || this.postConstruct != null || this.prePassivate !=
null || this.postActivate != null)
         {
             return true;
         }



Mime
View raw message