openwebbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gerdo...@apache.org
Subject svn commit: r823720 - /incubator/openwebbeans/trunk/samples/reservation/src/main/java/org/apache/webbeans/reservation/intercept/LoginDecorator.java
Date Fri, 09 Oct 2009 22:23:21 GMT
Author: gerdogdu
Date: Fri Oct  9 22:23:20 2009
New Revision: 823720

URL: http://svn.apache.org/viewvc?rev=823720&view=rev
Log:
update for Named.

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=823720&r1=823719&r2=823720&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
Fri Oct  9 22:23:20 2009
@@ -21,6 +21,7 @@
 import javax.decorator.Decorator;
 import javax.enterprise.inject.Any;
 import javax.inject.Inject;
+import javax.inject.Named;
 
 import org.apache.commons.logging.Log;
 import org.apache.webbeans.reservation.bindings.ApplicationLog;
@@ -31,7 +32,7 @@
 @Decorator
 public class LoginDecorator implements ILoginController 
 {
-    @Decorates @Any @DatabaseLogin ILoginController decorator;
+    @Decorates @Any @DatabaseLogin @Named ILoginController decorator;
     
     private @Inject @ApplicationLog Log logger;
 



Mime
View raw message