You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwebbeans.apache.org by ge...@apache.org on 2009/06/18 23:21:51 UTC
svn commit: r786292 -
/incubator/openwebbeans/trunk/samples/reservation/src/main/java/org/apache/webbeans/reservation/intercept/LoginDecorator.java
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;