openwebbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gerdo...@apache.org
Subject svn commit: r907506 - /openwebbeans/trunk/samples/reservation/src/main/java/org/apache/webbeans/reservation/intercept/LoginDecorator.java
Date Sun, 07 Feb 2010 22:24:58 GMT
Author: gerdogdu
Date: Sun Feb  7 22:24:58 2010
New Revision: 907506

URL: http://svn.apache.org/viewvc?rev=907506&view=rev
Log:
Update while running TCK

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

Modified: openwebbeans/trunk/samples/reservation/src/main/java/org/apache/webbeans/reservation/intercept/LoginDecorator.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/samples/reservation/src/main/java/org/apache/webbeans/reservation/intercept/LoginDecorator.java?rev=907506&r1=907505&r2=907506&view=diff
==============================================================================
--- openwebbeans/trunk/samples/reservation/src/main/java/org/apache/webbeans/reservation/intercept/LoginDecorator.java
(original)
+++ openwebbeans/trunk/samples/reservation/src/main/java/org/apache/webbeans/reservation/intercept/LoginDecorator.java
Sun Feb  7 22:24:58 2010
@@ -19,9 +19,7 @@
 
 import javax.decorator.Delegate;
 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;
@@ -32,7 +30,7 @@
 @Decorator
 public class LoginDecorator implements ILoginController 
 {
-    @Delegate @Any @DatabaseLogin @Named ILoginController decorator;
+    @Inject @Delegate @DatabaseLogin ILoginController decorator;
     
     private @Inject @ApplicationLog Log logger;
 



Mime
View raw message