[webbeans-commits] Webbeans SVN: r3622 - ri/trunk/impl/src/main/java/org/jboss/webbeans/literal.

webbeans-commits at lists.jboss.org webbeans-commits at lists.jboss.org
Mon Aug 31 02:09:17 EDT 2009


Author: pete.muir at jboss.org
Date: 2009-08-31 02:09:17 -0400 (Mon, 31 Aug 2009)
New Revision: 3622

Added:
   ri/trunk/impl/src/main/java/org/jboss/webbeans/literal/InjectLiteral.java
   ri/trunk/impl/src/main/java/org/jboss/webbeans/literal/NormalScopeLiteral.java
Log:
Add missing file

Added: ri/trunk/impl/src/main/java/org/jboss/webbeans/literal/InjectLiteral.java
===================================================================
--- ri/trunk/impl/src/main/java/org/jboss/webbeans/literal/InjectLiteral.java	                        (rev 0)
+++ ri/trunk/impl/src/main/java/org/jboss/webbeans/literal/InjectLiteral.java	2009-08-31 06:09:17 UTC (rev 3622)
@@ -0,0 +1,27 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2008, Red Hat Middleware LLC, and individual contributors
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * http://www.apache.org/licenses/LICENSE-2.0
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,  
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.jboss.webbeans.literal;
+
+import javax.enterprise.inject.AnnotationLiteral;
+import javax.inject.Inject;
+
+/**
+ * Annotation literal for @Inject
+ * 
+ * @author Pete Muir
+ */
+public class InjectLiteral extends AnnotationLiteral<Inject> implements Inject {}


Property changes on: ri/trunk/impl/src/main/java/org/jboss/webbeans/literal/InjectLiteral.java
___________________________________________________________________
Name: svn:mime-type
   + text/plain

Added: ri/trunk/impl/src/main/java/org/jboss/webbeans/literal/NormalScopeLiteral.java
===================================================================
--- ri/trunk/impl/src/main/java/org/jboss/webbeans/literal/NormalScopeLiteral.java	                        (rev 0)
+++ ri/trunk/impl/src/main/java/org/jboss/webbeans/literal/NormalScopeLiteral.java	2009-08-31 06:09:17 UTC (rev 3622)
@@ -0,0 +1,37 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2008, Red Hat Middleware LLC, and individual contributors
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * http://www.apache.org/licenses/LICENSE-2.0
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,  
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.jboss.webbeans.literal;
+
+import javax.enterprise.context.NormalScope;
+import javax.enterprise.inject.AnnotationLiteral;
+
+public class NormalScopeLiteral extends AnnotationLiteral<NormalScope> implements NormalScope
+{
+   
+   private final boolean passivating;
+   
+   public NormalScopeLiteral(boolean passivating)
+   {
+      this.passivating = passivating;
+   }
+
+   public boolean passivating()
+   {
+      return passivating;
+   }
+   
+}
\ No newline at end of file


Property changes on: ri/trunk/impl/src/main/java/org/jboss/webbeans/literal/NormalScopeLiteral.java
___________________________________________________________________
Name: svn:mime-type
   + text/plain




More information about the weld-commits mailing list