[weld-commits] Weld SVN: r6628 - in extensions/trunk/src/main/java/org/jboss/weld/extensions: annotationliteral and 1 other directory.

weld-commits at lists.jboss.org weld-commits at lists.jboss.org
Mon Jul 12 17:45:03 EDT 2010


Author: swd847
Date: 2010-07-12 17:45:02 -0400 (Mon, 12 Jul 2010)
New Revision: 6628

Added:
   extensions/trunk/src/main/java/org/jboss/weld/extensions/annotationliteral/
   extensions/trunk/src/main/java/org/jboss/weld/extensions/annotationliteral/AlternativeLiteral.java
   extensions/trunk/src/main/java/org/jboss/weld/extensions/annotationliteral/AnyLiteral.java
   extensions/trunk/src/main/java/org/jboss/weld/extensions/annotationliteral/ApplicationScopedLiteral.java
   extensions/trunk/src/main/java/org/jboss/weld/extensions/annotationliteral/ConversationScopedLiteral.java
   extensions/trunk/src/main/java/org/jboss/weld/extensions/annotationliteral/DecoratorLiteral.java
   extensions/trunk/src/main/java/org/jboss/weld/extensions/annotationliteral/DefaultLiteral.java
   extensions/trunk/src/main/java/org/jboss/weld/extensions/annotationliteral/DelegateLiteral.java
   extensions/trunk/src/main/java/org/jboss/weld/extensions/annotationliteral/DependentLiteral.java
   extensions/trunk/src/main/java/org/jboss/weld/extensions/annotationliteral/DisposesLiteral.java
   extensions/trunk/src/main/java/org/jboss/weld/extensions/annotationliteral/InjectLiteral.java
   extensions/trunk/src/main/java/org/jboss/weld/extensions/annotationliteral/ModelLiteral.java
   extensions/trunk/src/main/java/org/jboss/weld/extensions/annotationliteral/NamedLiteral.java
   extensions/trunk/src/main/java/org/jboss/weld/extensions/annotationliteral/NewLiteral.java
   extensions/trunk/src/main/java/org/jboss/weld/extensions/annotationliteral/NonbindingLiteral.java
   extensions/trunk/src/main/java/org/jboss/weld/extensions/annotationliteral/NormalScopeLiteral.java
   extensions/trunk/src/main/java/org/jboss/weld/extensions/annotationliteral/ObservesLiteral.java
   extensions/trunk/src/main/java/org/jboss/weld/extensions/annotationliteral/ProducesLiteral.java
   extensions/trunk/src/main/java/org/jboss/weld/extensions/annotationliteral/RequestScopedLiteral.java
   extensions/trunk/src/main/java/org/jboss/weld/extensions/annotationliteral/SessionScopedLiteral.java
   extensions/trunk/src/main/java/org/jboss/weld/extensions/annotationliteral/SpecializesLiteral.java
   extensions/trunk/src/main/java/org/jboss/weld/extensions/annotationliteral/StereotypeLiteral.java
   extensions/trunk/src/main/java/org/jboss/weld/extensions/annotationliteral/TypedLiteral.java
Log:
added AnnotationLiterals to weld extensions



Added: extensions/trunk/src/main/java/org/jboss/weld/extensions/annotationliteral/AlternativeLiteral.java
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/annotationliteral/AlternativeLiteral.java	                        (rev 0)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/annotationliteral/AlternativeLiteral.java	2010-07-12 21:45:02 UTC (rev 6628)
@@ -0,0 +1,30 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2010, Red Hat, Inc., 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.weld.extensions.annotationliteral;
+
+import javax.enterprise.inject.Alternative;
+import javax.enterprise.util.AnnotationLiteral;
+
+/**
+ * 
+ * @author Stuart Douglas
+ * 
+ */
+public class AlternativeLiteral extends AnnotationLiteral<Alternative> implements Alternative
+{
+
+}

Added: extensions/trunk/src/main/java/org/jboss/weld/extensions/annotationliteral/AnyLiteral.java
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/annotationliteral/AnyLiteral.java	                        (rev 0)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/annotationliteral/AnyLiteral.java	2010-07-12 21:45:02 UTC (rev 6628)
@@ -0,0 +1,30 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2010, Red Hat, Inc., 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.weld.extensions.annotationliteral;
+
+import javax.enterprise.inject.Any;
+import javax.enterprise.util.AnnotationLiteral;
+
+/**
+ * 
+ * @author Stuart Douglas
+ * 
+ */
+public class AnyLiteral extends AnnotationLiteral<Any> implements Any
+{
+
+}

Added: extensions/trunk/src/main/java/org/jboss/weld/extensions/annotationliteral/ApplicationScopedLiteral.java
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/annotationliteral/ApplicationScopedLiteral.java	                        (rev 0)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/annotationliteral/ApplicationScopedLiteral.java	2010-07-12 21:45:02 UTC (rev 6628)
@@ -0,0 +1,30 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2010, Red Hat, Inc., 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.weld.extensions.annotationliteral;
+
+import javax.enterprise.context.ApplicationScoped;
+import javax.enterprise.util.AnnotationLiteral;
+
+/**
+ * 
+ * @author Stuart Douglas
+ * 
+ */
+public class ApplicationScopedLiteral extends AnnotationLiteral<ApplicationScoped> implements ApplicationScoped
+{
+
+}

Added: extensions/trunk/src/main/java/org/jboss/weld/extensions/annotationliteral/ConversationScopedLiteral.java
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/annotationliteral/ConversationScopedLiteral.java	                        (rev 0)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/annotationliteral/ConversationScopedLiteral.java	2010-07-12 21:45:02 UTC (rev 6628)
@@ -0,0 +1,30 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2010, Red Hat, Inc., 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.weld.extensions.annotationliteral;
+
+import javax.enterprise.context.ConversationScoped;
+import javax.enterprise.util.AnnotationLiteral;
+
+/**
+ * 
+ * @author Stuart Douglas
+ * 
+ */
+public class ConversationScopedLiteral extends AnnotationLiteral<ConversationScoped> implements ConversationScoped
+{
+
+}

Added: extensions/trunk/src/main/java/org/jboss/weld/extensions/annotationliteral/DecoratorLiteral.java
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/annotationliteral/DecoratorLiteral.java	                        (rev 0)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/annotationliteral/DecoratorLiteral.java	2010-07-12 21:45:02 UTC (rev 6628)
@@ -0,0 +1,30 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2010, Red Hat, Inc., 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.weld.extensions.annotationliteral;
+
+import javax.decorator.Decorator;
+import javax.enterprise.util.AnnotationLiteral;
+
+/**
+ * 
+ * @author Stuart Douglas
+ * 
+ */
+public class DecoratorLiteral extends AnnotationLiteral<Decorator> implements Decorator
+{
+
+}

Added: extensions/trunk/src/main/java/org/jboss/weld/extensions/annotationliteral/DefaultLiteral.java
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/annotationliteral/DefaultLiteral.java	                        (rev 0)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/annotationliteral/DefaultLiteral.java	2010-07-12 21:45:02 UTC (rev 6628)
@@ -0,0 +1,30 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2010, Red Hat, Inc., 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.weld.extensions.annotationliteral;
+
+import javax.enterprise.inject.Default;
+import javax.enterprise.util.AnnotationLiteral;
+
+/**
+ * 
+ * @author Stuart Douglas
+ * 
+ */
+public class DefaultLiteral extends AnnotationLiteral<Default> implements Default
+{
+
+}

Added: extensions/trunk/src/main/java/org/jboss/weld/extensions/annotationliteral/DelegateLiteral.java
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/annotationliteral/DelegateLiteral.java	                        (rev 0)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/annotationliteral/DelegateLiteral.java	2010-07-12 21:45:02 UTC (rev 6628)
@@ -0,0 +1,30 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2010, Red Hat, Inc., 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.weld.extensions.annotationliteral;
+
+import javax.decorator.Delegate;
+import javax.enterprise.util.AnnotationLiteral;
+
+/**
+ * 
+ * @author Stuart Douglas
+ * 
+ */
+public class DelegateLiteral extends AnnotationLiteral<Delegate> implements Delegate
+{
+
+}

Added: extensions/trunk/src/main/java/org/jboss/weld/extensions/annotationliteral/DependentLiteral.java
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/annotationliteral/DependentLiteral.java	                        (rev 0)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/annotationliteral/DependentLiteral.java	2010-07-12 21:45:02 UTC (rev 6628)
@@ -0,0 +1,30 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2010, Red Hat, Inc., 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.weld.extensions.annotationliteral;
+
+import javax.enterprise.context.Dependent;
+import javax.enterprise.util.AnnotationLiteral;
+
+/**
+ * 
+ * @author Stuart Douglas
+ * 
+ */
+public class DependentLiteral extends AnnotationLiteral<Dependent> implements Dependent
+{
+
+}

Added: extensions/trunk/src/main/java/org/jboss/weld/extensions/annotationliteral/DisposesLiteral.java
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/annotationliteral/DisposesLiteral.java	                        (rev 0)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/annotationliteral/DisposesLiteral.java	2010-07-12 21:45:02 UTC (rev 6628)
@@ -0,0 +1,30 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2010, Red Hat, Inc., 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.weld.extensions.annotationliteral;
+
+import javax.enterprise.inject.Disposes;
+import javax.enterprise.util.AnnotationLiteral;
+
+/**
+ * 
+ * @author Stuart Douglas
+ * 
+ */
+public class DisposesLiteral extends AnnotationLiteral<Disposes> implements Disposes
+{
+
+}

Added: extensions/trunk/src/main/java/org/jboss/weld/extensions/annotationliteral/InjectLiteral.java
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/annotationliteral/InjectLiteral.java	                        (rev 0)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/annotationliteral/InjectLiteral.java	2010-07-12 21:45:02 UTC (rev 6628)
@@ -0,0 +1,30 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2010, Red Hat, Inc., 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.weld.extensions.annotationliteral;
+
+import javax.enterprise.util.AnnotationLiteral;
+import javax.inject.Inject;
+
+/**
+ * 
+ * @author Stuart Douglas
+ * 
+ */
+public class InjectLiteral extends AnnotationLiteral<Inject> implements Inject
+{
+
+}

Added: extensions/trunk/src/main/java/org/jboss/weld/extensions/annotationliteral/ModelLiteral.java
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/annotationliteral/ModelLiteral.java	                        (rev 0)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/annotationliteral/ModelLiteral.java	2010-07-12 21:45:02 UTC (rev 6628)
@@ -0,0 +1,30 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2010, Red Hat, Inc., 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.weld.extensions.annotationliteral;
+
+import javax.enterprise.inject.Model;
+import javax.enterprise.util.AnnotationLiteral;
+
+/**
+ * 
+ * @author Stuart Douglas
+ * 
+ */
+public class ModelLiteral extends AnnotationLiteral<Model> implements Model
+{
+
+}

Added: extensions/trunk/src/main/java/org/jboss/weld/extensions/annotationliteral/NamedLiteral.java
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/annotationliteral/NamedLiteral.java	                        (rev 0)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/annotationliteral/NamedLiteral.java	2010-07-12 21:45:02 UTC (rev 6628)
@@ -0,0 +1,42 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2010, Red Hat, Inc., 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.weld.extensions.annotationliteral;
+
+import javax.enterprise.util.AnnotationLiteral;
+import javax.inject.Named;
+
+/**
+ * 
+ * @author Stuart Douglas
+ * 
+ */
+public class NamedLiteral extends AnnotationLiteral<Named> implements Named
+{
+
+   public NamedLiteral(String value)
+   {
+      this.value = value;
+   }
+
+   private final String value;
+
+   public String value()
+   {
+      return value;
+   }
+
+}

Added: extensions/trunk/src/main/java/org/jboss/weld/extensions/annotationliteral/NewLiteral.java
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/annotationliteral/NewLiteral.java	                        (rev 0)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/annotationliteral/NewLiteral.java	2010-07-12 21:45:02 UTC (rev 6628)
@@ -0,0 +1,41 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2010, Red Hat, Inc., 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.weld.extensions.annotationliteral;
+
+import javax.enterprise.inject.New;
+import javax.enterprise.util.AnnotationLiteral;
+
+/**
+ * 
+ * @author Stuart Douglas
+ * 
+ */
+public class NewLiteral extends AnnotationLiteral<New> implements New
+{
+   private final Class<?> value;
+
+   public NewLiteral(Class<?> value)
+   {
+      this.value = value;
+   }
+
+   public Class<?> value()
+   {
+      return value;
+   }
+
+}

Added: extensions/trunk/src/main/java/org/jboss/weld/extensions/annotationliteral/NonbindingLiteral.java
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/annotationliteral/NonbindingLiteral.java	                        (rev 0)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/annotationliteral/NonbindingLiteral.java	2010-07-12 21:45:02 UTC (rev 6628)
@@ -0,0 +1,30 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2010, Red Hat, Inc., 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.weld.extensions.annotationliteral;
+
+import javax.enterprise.util.AnnotationLiteral;
+import javax.enterprise.util.Nonbinding;
+
+/**
+ * 
+ * @author Stuart Douglas
+ * 
+ */
+public class NonbindingLiteral extends AnnotationLiteral<Nonbinding> implements Nonbinding
+{
+
+}

Added: extensions/trunk/src/main/java/org/jboss/weld/extensions/annotationliteral/NormalScopeLiteral.java
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/annotationliteral/NormalScopeLiteral.java	                        (rev 0)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/annotationliteral/NormalScopeLiteral.java	2010-07-12 21:45:02 UTC (rev 6628)
@@ -0,0 +1,42 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2010, Red Hat, Inc., 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.weld.extensions.annotationliteral;
+
+import javax.enterprise.context.NormalScope;
+import javax.enterprise.util.AnnotationLiteral;
+
+/**
+ * 
+ * @author Stuart Douglas
+ * 
+ */
+public class NormalScopeLiteral extends AnnotationLiteral<NormalScope> implements NormalScope
+{
+
+   private final boolean passivating;
+
+   public NormalScopeLiteral(boolean passivating)
+   {
+      this.passivating = passivating;
+   }
+
+   public boolean passivating()
+   {
+      return passivating;
+   }
+
+}

Added: extensions/trunk/src/main/java/org/jboss/weld/extensions/annotationliteral/ObservesLiteral.java
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/annotationliteral/ObservesLiteral.java	                        (rev 0)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/annotationliteral/ObservesLiteral.java	2010-07-12 21:45:02 UTC (rev 6628)
@@ -0,0 +1,50 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2010, Red Hat, Inc., 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.weld.extensions.annotationliteral;
+
+import javax.enterprise.event.Observes;
+import javax.enterprise.event.Reception;
+import javax.enterprise.event.TransactionPhase;
+import javax.enterprise.util.AnnotationLiteral;
+
+/**
+ * 
+ * @author Stuart Douglas
+ * 
+ */
+public class ObservesLiteral extends AnnotationLiteral<Observes> implements Observes
+{
+   private final TransactionPhase during;
+   private final Reception notifyObserver;
+
+   public ObservesLiteral(TransactionPhase during, Reception notifyObserver)
+   {
+      this.during = during;
+      this.notifyObserver = notifyObserver;
+   }
+
+   public TransactionPhase during()
+   {
+      return during;
+   }
+
+   public Reception notifyObserver()
+   {
+      return notifyObserver;
+   }
+
+}

Added: extensions/trunk/src/main/java/org/jboss/weld/extensions/annotationliteral/ProducesLiteral.java
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/annotationliteral/ProducesLiteral.java	                        (rev 0)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/annotationliteral/ProducesLiteral.java	2010-07-12 21:45:02 UTC (rev 6628)
@@ -0,0 +1,30 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2010, Red Hat, Inc., 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.weld.extensions.annotationliteral;
+
+import javax.enterprise.inject.Produces;
+import javax.enterprise.util.AnnotationLiteral;
+
+/**
+ * 
+ * @author Stuart Douglas
+ * 
+ */
+public class ProducesLiteral extends AnnotationLiteral<Produces> implements Produces
+{
+
+}

Added: extensions/trunk/src/main/java/org/jboss/weld/extensions/annotationliteral/RequestScopedLiteral.java
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/annotationliteral/RequestScopedLiteral.java	                        (rev 0)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/annotationliteral/RequestScopedLiteral.java	2010-07-12 21:45:02 UTC (rev 6628)
@@ -0,0 +1,30 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2010, Red Hat, Inc., 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.weld.extensions.annotationliteral;
+
+import javax.enterprise.context.RequestScoped;
+import javax.enterprise.util.AnnotationLiteral;
+
+/**
+ * 
+ * @author Stuart Douglas
+ * 
+ */
+public class RequestScopedLiteral extends AnnotationLiteral<RequestScoped> implements RequestScoped
+{
+
+}

Added: extensions/trunk/src/main/java/org/jboss/weld/extensions/annotationliteral/SessionScopedLiteral.java
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/annotationliteral/SessionScopedLiteral.java	                        (rev 0)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/annotationliteral/SessionScopedLiteral.java	2010-07-12 21:45:02 UTC (rev 6628)
@@ -0,0 +1,30 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2010, Red Hat, Inc., 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.weld.extensions.annotationliteral;
+
+import javax.enterprise.context.SessionScoped;
+import javax.enterprise.util.AnnotationLiteral;
+
+/**
+ * 
+ * @author Stuart Douglas
+ * 
+ */
+public class SessionScopedLiteral extends AnnotationLiteral<SessionScoped> implements SessionScoped
+{
+
+}

Added: extensions/trunk/src/main/java/org/jboss/weld/extensions/annotationliteral/SpecializesLiteral.java
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/annotationliteral/SpecializesLiteral.java	                        (rev 0)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/annotationliteral/SpecializesLiteral.java	2010-07-12 21:45:02 UTC (rev 6628)
@@ -0,0 +1,30 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2010, Red Hat, Inc., 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.weld.extensions.annotationliteral;
+
+import javax.enterprise.inject.Specializes;
+import javax.enterprise.util.AnnotationLiteral;
+
+/**
+ * 
+ * @author Stuart Douglas
+ * 
+ */
+public class SpecializesLiteral extends AnnotationLiteral<Specializes> implements Specializes
+{
+
+}

Added: extensions/trunk/src/main/java/org/jboss/weld/extensions/annotationliteral/StereotypeLiteral.java
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/annotationliteral/StereotypeLiteral.java	                        (rev 0)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/annotationliteral/StereotypeLiteral.java	2010-07-12 21:45:02 UTC (rev 6628)
@@ -0,0 +1,30 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2010, Red Hat, Inc., 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.weld.extensions.annotationliteral;
+
+import javax.enterprise.inject.Stereotype;
+import javax.enterprise.util.AnnotationLiteral;
+
+/**
+ * 
+ * @author Stuart Douglas
+ * 
+ */
+public class StereotypeLiteral extends AnnotationLiteral<Stereotype> implements Stereotype
+{
+
+}

Added: extensions/trunk/src/main/java/org/jboss/weld/extensions/annotationliteral/TypedLiteral.java
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/annotationliteral/TypedLiteral.java	                        (rev 0)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/annotationliteral/TypedLiteral.java	2010-07-12 21:45:02 UTC (rev 6628)
@@ -0,0 +1,41 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2010, Red Hat, Inc., 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.weld.extensions.annotationliteral;
+
+import javax.enterprise.inject.Typed;
+import javax.enterprise.util.AnnotationLiteral;
+
+/**
+ * 
+ * @author Stuart Douglas
+ * 
+ */
+public class TypedLiteral extends AnnotationLiteral<Typed> implements Typed
+{
+   private final Class<?>[] value;
+
+   public TypedLiteral(Class<?>[] value)
+   {
+      this.value = value;
+   }
+
+   public Class<?>[] value()
+   {
+      return value;
+   }
+
+}



More information about the weld-commits mailing list