openwebbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gerdo...@apache.org
Subject svn commit: r786292 - /incubator/openwebbeans/trunk/samples/reservation/src/main/java/org/apache/webbeans/reservation/intercept/LoginDecorator.java
Date Thu, 18 Jun 2009 21:21:51 GMT
Author: gerdogdu
Date: Thu Jun 18 21:21:51 2009
New Revision: 786292

URL: http://svn.apache.org/viewvc?rev=786292&view=rev
Log:
Update for @Any

Modified:
    incubator/openwebbeans/trunk/samples/reservation/src/main/java/org/apache/webbeans/reservation/intercept/LoginDecorator.java

Modified: incubator/openwebbeans/trunk/samples/reservation/src/main/java/org/apache/webbeans/reservation/intercept/LoginDecorator.java
URL: http://svn.apache.org/viewvc/incubator/openwebbeans/trunk/samples/reservation/src/main/java/org/apache/webbeans/reservation/intercept/LoginDecorator.java?rev=786292&r1=786291&r2=786292&view=diff
==============================================================================
--- incubator/openwebbeans/trunk/samples/reservation/src/main/java/org/apache/webbeans/reservation/intercept/LoginDecorator.java
(original)
+++ incubator/openwebbeans/trunk/samples/reservation/src/main/java/org/apache/webbeans/reservation/intercept/LoginDecorator.java
Thu Jun 18 21:21:51 2009
@@ -19,6 +19,7 @@
 
 import javax.decorator.Decorates;
 import javax.decorator.Decorator;
+import javax.enterprise.inject.Any;
 
 import org.apache.commons.logging.Log;
 import org.apache.webbeans.reservation.bindings.ApplicationLog;
@@ -29,7 +30,7 @@
 @Decorator
 public class LoginDecorator implements ILoginController 
 {
-    @Decorates @DatabaseLogin ILoginController decorator;
+    @Decorates @Any @DatabaseLogin ILoginController decorator;
     
     private @ApplicationLog Log logger;
 



Mime
View raw message