Weld SVN: r6165 - in examples/trunk/jsf/pastecode: ear and 2 other directories.
by weld-commits@lists.jboss.org
Author: mgencur(a)redhat.com
Date: 2010-04-27 04:34:27 -0400 (Tue, 27 Apr 2010)
New Revision: 6165
Modified:
examples/trunk/jsf/pastecode/ear/pom.xml
examples/trunk/jsf/pastecode/ejb/pom.xml
examples/trunk/jsf/pastecode/pom.xml
examples/trunk/jsf/pastecode/war/pom.xml
Log:
versions updated to 1.0.2-SNAPSHOT
Modified: examples/trunk/jsf/pastecode/ear/pom.xml
===================================================================
--- examples/trunk/jsf/pastecode/ear/pom.xml 2010-04-26 22:49:56 UTC (rev 6164)
+++ examples/trunk/jsf/pastecode/ear/pom.xml 2010-04-27 08:34:27 UTC (rev 6165)
@@ -5,12 +5,11 @@
<parent>
<groupId>org.jboss.weld.examples.jsf.pastecode</groupId>
<artifactId>weld-jsf-pastecode-parent</artifactId>
- <version>1.0.1-SNAPSHOT</version>
+ <version>1.0.2-SNAPSHOT</version>
</parent>
<groupId>org.jboss.weld.examples.jsf.pastecode</groupId>
<artifactId>weld-jsf-pastecode-ear</artifactId>
- <version>1.0.1-SNAPSHOT</version>
<packaging>ear</packaging>
<name>Weld Examples: PasteCode (ear)</name>
Modified: examples/trunk/jsf/pastecode/ejb/pom.xml
===================================================================
--- examples/trunk/jsf/pastecode/ejb/pom.xml 2010-04-26 22:49:56 UTC (rev 6164)
+++ examples/trunk/jsf/pastecode/ejb/pom.xml 2010-04-27 08:34:27 UTC (rev 6165)
@@ -5,12 +5,11 @@
<parent>
<groupId>org.jboss.weld.examples.jsf.pastecode</groupId>
<artifactId>weld-jsf-pastecode-parent</artifactId>
- <version>1.0.1-SNAPSHOT</version>
+ <version>1.0.2-SNAPSHOT</version>
</parent>
<groupId>org.jboss.weld.examples.jsf.pastecode</groupId>
<artifactId>weld-jsf-pastecode-ejb</artifactId>
- <version>1.0.1-SNAPSHOT</version>
<packaging>ejb</packaging>
<name>Weld Examples: PasteCode (ejb)</name>
Modified: examples/trunk/jsf/pastecode/pom.xml
===================================================================
--- examples/trunk/jsf/pastecode/pom.xml 2010-04-26 22:49:56 UTC (rev 6164)
+++ examples/trunk/jsf/pastecode/pom.xml 2010-04-27 08:34:27 UTC (rev 6165)
@@ -4,12 +4,11 @@
<parent>
<groupId>org.jboss.weld.examples</groupId>
<artifactId>weld-examples-parent</artifactId>
- <version>1.0.1-SNAPSHOT</version>
+ <version>1.0.2-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<groupId>org.jboss.weld.examples.jsf.pastecode</groupId>
<artifactId>weld-jsf-pastecode-parent</artifactId>
- <version>1.0.1-SNAPSHOT</version>
<packaging>pom</packaging>
<name>Weld Examples: PasteCode (parent)</name>
Modified: examples/trunk/jsf/pastecode/war/pom.xml
===================================================================
--- examples/trunk/jsf/pastecode/war/pom.xml 2010-04-26 22:49:56 UTC (rev 6164)
+++ examples/trunk/jsf/pastecode/war/pom.xml 2010-04-27 08:34:27 UTC (rev 6165)
@@ -5,12 +5,11 @@
<parent>
<groupId>org.jboss.weld.examples.jsf.pastecode</groupId>
<artifactId>weld-jsf-pastecode-parent</artifactId>
- <version>1.0.1-SNAPSHOT</version>
+ <version>1.0.2-SNAPSHOT</version>
</parent>
<groupId>org.jboss.weld.examples.jsf.pastecode</groupId>
<artifactId>weld-jsf-pastecode-war</artifactId>
- <version>1.0.1-SNAPSHOT</version>
<packaging>war</packaging>
<name>Weld Examples: PasteCode (war)</name>
14 years, 8 months
Weld SVN: r6164 - in extensions/trunk/src: main/java/org/jboss/weld/extensions/annotations and 20 other directories.
by weld-commits@lists.jboss.org
Author: swd847
Date: 2010-04-26 18:49:56 -0400 (Mon, 26 Apr 2010)
New Revision: 6164
Modified:
extensions/trunk/src/main/java/org/jboss/weld/extensions/Constructs.java
extensions/trunk/src/main/java/org/jboss/weld/extensions/CoreExtension.java
extensions/trunk/src/main/java/org/jboss/weld/extensions/Exact.java
extensions/trunk/src/main/java/org/jboss/weld/extensions/ExactLiteral.java
extensions/trunk/src/main/java/org/jboss/weld/extensions/NamedLiteral.java
extensions/trunk/src/main/java/org/jboss/weld/extensions/Resource.java
extensions/trunk/src/main/java/org/jboss/weld/extensions/Veto.java
extensions/trunk/src/main/java/org/jboss/weld/extensions/annotations/ManagedProducer.java
extensions/trunk/src/main/java/org/jboss/weld/extensions/beanManager/AbstractJndiBeanManagerProvider.java
extensions/trunk/src/main/java/org/jboss/weld/extensions/beanManager/BeanManagerAware.java
extensions/trunk/src/main/java/org/jboss/weld/extensions/beanManager/BeanManagerProvider.java
extensions/trunk/src/main/java/org/jboss/weld/extensions/beanManager/DefaultJndiBeanManagerProvider.java
extensions/trunk/src/main/java/org/jboss/weld/extensions/beanManager/JBossJndiBeanManagerProvider.java
extensions/trunk/src/main/java/org/jboss/weld/extensions/beanlookup/AnnotatedTypeIdentifier.java
extensions/trunk/src/main/java/org/jboss/weld/extensions/beanlookup/IdentifiableBeanExtension.java
extensions/trunk/src/main/java/org/jboss/weld/extensions/beanlookup/IdentifiableInjectionTarget.java
extensions/trunk/src/main/java/org/jboss/weld/extensions/beanlookup/RequiresIdentification.java
extensions/trunk/src/main/java/org/jboss/weld/extensions/beans/BeanLifecycle.java
extensions/trunk/src/main/java/org/jboss/weld/extensions/beans/CustomBean.java
extensions/trunk/src/main/java/org/jboss/weld/extensions/beans/CustomBeanBuilder.java
extensions/trunk/src/main/java/org/jboss/weld/extensions/beans/CustomInjectionPoint.java
extensions/trunk/src/main/java/org/jboss/weld/extensions/beans/PassivationCapableCustomBean.java
extensions/trunk/src/main/java/org/jboss/weld/extensions/beans/SimpleBeanLifecycle.java
extensions/trunk/src/main/java/org/jboss/weld/extensions/genericbeans/FieldSetter.java
extensions/trunk/src/main/java/org/jboss/weld/extensions/genericbeans/Generic.java
extensions/trunk/src/main/java/org/jboss/weld/extensions/genericbeans/GenericAnnotation.java
extensions/trunk/src/main/java/org/jboss/weld/extensions/genericbeans/GenericBeanInjectionTargetWrapper.java
extensions/trunk/src/main/java/org/jboss/weld/extensions/genericbeans/GenericExtension.java
extensions/trunk/src/main/java/org/jboss/weld/extensions/genericbeans/InjectConfiguration.java
extensions/trunk/src/main/java/org/jboss/weld/extensions/genericbeans/InjectGeneric.java
extensions/trunk/src/main/java/org/jboss/weld/extensions/genericbeans/InjectLiteral.java
extensions/trunk/src/main/java/org/jboss/weld/extensions/genericbeans/ProducerFieldInjectionTarget.java
extensions/trunk/src/main/java/org/jboss/weld/extensions/genericbeans/SyntheticQualifier.java
extensions/trunk/src/main/java/org/jboss/weld/extensions/interceptor/InterceptorExtension.java
extensions/trunk/src/main/java/org/jboss/weld/extensions/interceptor/Interceptors.java
extensions/trunk/src/main/java/org/jboss/weld/extensions/log/Category.java
extensions/trunk/src/main/java/org/jboss/weld/extensions/log/LoggerProducer.java
extensions/trunk/src/main/java/org/jboss/weld/extensions/managedproducer/ManagedProducerBean.java
extensions/trunk/src/main/java/org/jboss/weld/extensions/managedproducer/ManagedProducerExtension.java
extensions/trunk/src/main/java/org/jboss/weld/extensions/managedproducer/ManagedProducerInvocationHandler.java
extensions/trunk/src/main/java/org/jboss/weld/extensions/resources/ClasspathResourceLoader.java
extensions/trunk/src/main/java/org/jboss/weld/extensions/resources/ResourceLoader.java
extensions/trunk/src/main/java/org/jboss/weld/extensions/resources/ResourceLoaderManager.java
extensions/trunk/src/main/java/org/jboss/weld/extensions/resources/ResourceProducer.java
extensions/trunk/src/main/java/org/jboss/weld/extensions/resources/ResourceProvider.java
extensions/trunk/src/main/java/org/jboss/weld/extensions/util/AnnotatedTypeUtils.java
extensions/trunk/src/main/java/org/jboss/weld/extensions/util/AnnotationInstanceProvider.java
extensions/trunk/src/main/java/org/jboss/weld/extensions/util/AnnotationInvocationHandler.java
extensions/trunk/src/main/java/org/jboss/weld/extensions/util/BeanImpl.java
extensions/trunk/src/main/java/org/jboss/weld/extensions/util/NullMemberException.java
extensions/trunk/src/main/java/org/jboss/weld/extensions/util/ReflectionUtils.java
extensions/trunk/src/main/java/org/jboss/weld/extensions/util/Sortable.java
extensions/trunk/src/main/java/org/jboss/weld/extensions/util/annotated/AbstractNewAnnotatedCallable.java
extensions/trunk/src/main/java/org/jboss/weld/extensions/util/annotated/AbstractNewAnnotatedElement.java
extensions/trunk/src/main/java/org/jboss/weld/extensions/util/annotated/AbstractNewAnnotatedMember.java
extensions/trunk/src/main/java/org/jboss/weld/extensions/util/annotated/AnnotationBuilder.java
extensions/trunk/src/main/java/org/jboss/weld/extensions/util/annotated/AnnotationRedefiner.java
extensions/trunk/src/main/java/org/jboss/weld/extensions/util/annotated/AnnotationStore.java
extensions/trunk/src/main/java/org/jboss/weld/extensions/util/annotated/NewAnnotatedConstructor.java
extensions/trunk/src/main/java/org/jboss/weld/extensions/util/annotated/NewAnnotatedField.java
extensions/trunk/src/main/java/org/jboss/weld/extensions/util/annotated/NewAnnotatedMethod.java
extensions/trunk/src/main/java/org/jboss/weld/extensions/util/annotated/NewAnnotatedParameter.java
extensions/trunk/src/main/java/org/jboss/weld/extensions/util/annotated/NewAnnotatedType.java
extensions/trunk/src/main/java/org/jboss/weld/extensions/util/annotated/NewAnnotatedTypeBuilder.java
extensions/trunk/src/main/java/org/jboss/weld/extensions/util/annotated/TypeClosureBuilder.java
extensions/trunk/src/main/java/org/jboss/weld/extensions/util/reannotated/AnnotationRedefinition.java
extensions/trunk/src/main/java/org/jboss/weld/extensions/util/reannotated/Reannotated.java
extensions/trunk/src/main/java/org/jboss/weld/extensions/util/reannotated/ReannotatedCallable.java
extensions/trunk/src/main/java/org/jboss/weld/extensions/util/reannotated/ReannotatedConstructor.java
extensions/trunk/src/main/java/org/jboss/weld/extensions/util/reannotated/ReannotatedField.java
extensions/trunk/src/main/java/org/jboss/weld/extensions/util/reannotated/ReannotatedMember.java
extensions/trunk/src/main/java/org/jboss/weld/extensions/util/reannotated/ReannotatedMethod.java
extensions/trunk/src/main/java/org/jboss/weld/extensions/util/reannotated/ReannotatedParameter.java
extensions/trunk/src/main/java/org/jboss/weld/extensions/util/reannotated/ReannotatedType.java
extensions/trunk/src/main/java/org/jboss/weld/extensions/util/service/ServiceLoader.java
extensions/trunk/src/test/java/org/jboss/weld/test/extensions/beanlookup/IdentifiableBean.java
extensions/trunk/src/test/java/org/jboss/weld/test/extensions/beanlookup/IdentifiableBeansTest.java
extensions/trunk/src/test/java/org/jboss/weld/test/extensions/beanlookup/IdentifiableInterceptorBinding.java
extensions/trunk/src/test/java/org/jboss/weld/test/extensions/genericbeans/GenericBeanTest.java
extensions/trunk/src/test/java/org/jboss/weld/test/extensions/genericbeans/GenericConstructorArgument.java
extensions/trunk/src/test/java/org/jboss/weld/test/extensions/genericbeans/GenericDep.java
extensions/trunk/src/test/java/org/jboss/weld/test/extensions/genericbeans/GenericMain.java
extensions/trunk/src/test/java/org/jboss/weld/test/extensions/genericbeans/GenericProducer.java
extensions/trunk/src/test/java/org/jboss/weld/test/extensions/genericbeans/InjectedBean.java
extensions/trunk/src/test/java/org/jboss/weld/test/extensions/genericbeans/NormalBean.java
extensions/trunk/src/test/java/org/jboss/weld/test/extensions/genericbeans/SomeQualifier.java
extensions/trunk/src/test/java/org/jboss/weld/test/extensions/genericbeans/TestAnnotation.java
extensions/trunk/src/test/java/org/jboss/weld/test/extensions/interceptor/BarInterceptor.java
extensions/trunk/src/test/java/org/jboss/weld/test/extensions/interceptor/Foo.java
extensions/trunk/src/test/java/org/jboss/weld/test/extensions/interceptor/FooInterceptor.java
extensions/trunk/src/test/java/org/jboss/weld/test/extensions/interceptor/InterceptorsTest.java
extensions/trunk/src/test/java/org/jboss/weld/test/extensions/log/Finch.java
extensions/trunk/src/test/java/org/jboss/weld/test/extensions/log/LoggerInjectionTest.java
extensions/trunk/src/test/java/org/jboss/weld/test/extensions/log/Sparrow.java
extensions/trunk/src/test/java/org/jboss/weld/test/extensions/managedproducer/BeanProducer.java
extensions/trunk/src/test/java/org/jboss/weld/test/extensions/managedproducer/MPType.java
extensions/trunk/src/test/java/org/jboss/weld/test/extensions/managedproducer/ManagedProducerTest.java
extensions/trunk/src/test/java/org/jboss/weld/test/extensions/managedproducer/ManagedReciever.java
extensions/trunk/src/test/java/org/jboss/weld/test/extensions/managedproducer/ProducedBean.java
extensions/trunk/src/test/java/org/jboss/weld/test/extensions/managedproducer/ProducedInterface.java
extensions/trunk/src/test/java/org/jboss/weld/test/extensions/resources/ResourceClient.java
extensions/trunk/src/test/java/org/jboss/weld/test/extensions/resources/ResourceLoaderTest.java
extensions/trunk/src/test/java/org/jboss/weld/test/extensions/util/AnnotatedClass.java
extensions/trunk/src/test/java/org/jboss/weld/test/extensions/util/AnnotationInstanceProviderTest.java
extensions/trunk/src/test/java/org/jboss/weld/test/extensions/util/IntMemberAnnotation.java
extensions/trunk/src/test/java/org/jboss/weld/test/extensions/util/MultipleMembers.java
extensions/trunk/src/test/java/org/jboss/weld/test/extensions/util/SimpleAnnotation.java
extensions/trunk/src/test/java/org/slf4j/impl/StaticLoggerBinder.java
extensions/trunk/src/test/java/org/slf4j/impl/StaticMarkerBinder.java
extensions/trunk/src/test/java/org/slf4j/impl/TestLogger.java
extensions/trunk/src/test/java/org/slf4j/impl/TestLoggerFactory.java
Log:
fix weld-extensions headers
Modified: extensions/trunk/src/main/java/org/jboss/weld/extensions/Constructs.java
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/Constructs.java 2010-04-26 15:11:56 UTC (rev 6163)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/Constructs.java 2010-04-26 22:49:56 UTC (rev 6164)
@@ -1,3 +1,19 @@
+/*
+ * 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;
import static java.lang.annotation.ElementType.CONSTRUCTOR;
Modified: extensions/trunk/src/main/java/org/jboss/weld/extensions/CoreExtension.java
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/CoreExtension.java 2010-04-26 15:11:56 UTC (rev 6163)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/CoreExtension.java 2010-04-26 22:49:56 UTC (rev 6164)
@@ -1,3 +1,19 @@
+/*
+ * 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;
import java.lang.annotation.Annotation;
Modified: extensions/trunk/src/main/java/org/jboss/weld/extensions/Exact.java
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/Exact.java 2010-04-26 15:11:56 UTC (rev 6163)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/Exact.java 2010-04-26 22:49:56 UTC (rev 6164)
@@ -1,3 +1,19 @@
+/*
+ * 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;
import static java.lang.annotation.ElementType.FIELD;
Modified: extensions/trunk/src/main/java/org/jboss/weld/extensions/ExactLiteral.java
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/ExactLiteral.java 2010-04-26 15:11:56 UTC (rev 6163)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/ExactLiteral.java 2010-04-26 22:49:56 UTC (rev 6164)
@@ -1,5 +1,18 @@
-/**
- *
+/*
+ * 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;
Modified: extensions/trunk/src/main/java/org/jboss/weld/extensions/NamedLiteral.java
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/NamedLiteral.java 2010-04-26 15:11:56 UTC (rev 6163)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/NamedLiteral.java 2010-04-26 22:49:56 UTC (rev 6164)
@@ -1,5 +1,18 @@
-/**
- *
+/*
+ * 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;
Modified: extensions/trunk/src/main/java/org/jboss/weld/extensions/Resource.java
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/Resource.java 2010-04-26 15:11:56 UTC (rev 6163)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/Resource.java 2010-04-26 22:49:56 UTC (rev 6164)
@@ -1,3 +1,19 @@
+/*
+ * 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;
import static java.lang.annotation.ElementType.FIELD;
Modified: extensions/trunk/src/main/java/org/jboss/weld/extensions/Veto.java
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/Veto.java 2010-04-26 15:11:56 UTC (rev 6163)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/Veto.java 2010-04-26 22:49:56 UTC (rev 6164)
@@ -1,3 +1,19 @@
+/*
+ * 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;
import java.lang.annotation.Documented;
Modified: extensions/trunk/src/main/java/org/jboss/weld/extensions/annotations/ManagedProducer.java
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/annotations/ManagedProducer.java 2010-04-26 15:11:56 UTC (rev 6163)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/annotations/ManagedProducer.java 2010-04-26 22:49:56 UTC (rev 6164)
@@ -1,3 +1,19 @@
+/*
+ * 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.annotations;
import java.lang.annotation.ElementType;
Modified: extensions/trunk/src/main/java/org/jboss/weld/extensions/beanManager/AbstractJndiBeanManagerProvider.java
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/beanManager/AbstractJndiBeanManagerProvider.java 2010-04-26 15:11:56 UTC (rev 6163)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/beanManager/AbstractJndiBeanManagerProvider.java 2010-04-26 22:49:56 UTC (rev 6164)
@@ -4,20 +4,15 @@
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ * 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.beanManager;
Modified: extensions/trunk/src/main/java/org/jboss/weld/extensions/beanManager/BeanManagerAware.java
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/beanManager/BeanManagerAware.java 2010-04-26 15:11:56 UTC (rev 6163)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/beanManager/BeanManagerAware.java 2010-04-26 22:49:56 UTC (rev 6164)
@@ -4,20 +4,15 @@
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ * 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.beanManager;
Modified: extensions/trunk/src/main/java/org/jboss/weld/extensions/beanManager/BeanManagerProvider.java
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/beanManager/BeanManagerProvider.java 2010-04-26 15:11:56 UTC (rev 6163)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/beanManager/BeanManagerProvider.java 2010-04-26 22:49:56 UTC (rev 6164)
@@ -4,20 +4,15 @@
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ * 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.beanManager;
Modified: extensions/trunk/src/main/java/org/jboss/weld/extensions/beanManager/DefaultJndiBeanManagerProvider.java
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/beanManager/DefaultJndiBeanManagerProvider.java 2010-04-26 15:11:56 UTC (rev 6163)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/beanManager/DefaultJndiBeanManagerProvider.java 2010-04-26 22:49:56 UTC (rev 6164)
@@ -4,20 +4,15 @@
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ * 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.beanManager;
Modified: extensions/trunk/src/main/java/org/jboss/weld/extensions/beanManager/JBossJndiBeanManagerProvider.java
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/beanManager/JBossJndiBeanManagerProvider.java 2010-04-26 15:11:56 UTC (rev 6163)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/beanManager/JBossJndiBeanManagerProvider.java 2010-04-26 22:49:56 UTC (rev 6164)
@@ -4,20 +4,15 @@
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ * 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.beanManager;
Modified: extensions/trunk/src/main/java/org/jboss/weld/extensions/beanlookup/AnnotatedTypeIdentifier.java
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/beanlookup/AnnotatedTypeIdentifier.java 2010-04-26 15:11:56 UTC (rev 6163)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/beanlookup/AnnotatedTypeIdentifier.java 2010-04-26 22:49:56 UTC (rev 6164)
@@ -1,3 +1,19 @@
+/*
+ * 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.beanlookup;
import javax.enterprise.inject.spi.AnnotatedType;
Modified: extensions/trunk/src/main/java/org/jboss/weld/extensions/beanlookup/IdentifiableBeanExtension.java
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/beanlookup/IdentifiableBeanExtension.java 2010-04-26 15:11:56 UTC (rev 6163)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/beanlookup/IdentifiableBeanExtension.java 2010-04-26 22:49:56 UTC (rev 6164)
@@ -1,3 +1,19 @@
+/*
+ * 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.beanlookup;
import java.lang.annotation.Annotation;
Modified: extensions/trunk/src/main/java/org/jboss/weld/extensions/beanlookup/IdentifiableInjectionTarget.java
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/beanlookup/IdentifiableInjectionTarget.java 2010-04-26 15:11:56 UTC (rev 6163)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/beanlookup/IdentifiableInjectionTarget.java 2010-04-26 22:49:56 UTC (rev 6164)
@@ -1,3 +1,19 @@
+/*
+ * 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.beanlookup;
import java.util.Map;
Modified: extensions/trunk/src/main/java/org/jboss/weld/extensions/beanlookup/RequiresIdentification.java
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/beanlookup/RequiresIdentification.java 2010-04-26 15:11:56 UTC (rev 6163)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/beanlookup/RequiresIdentification.java 2010-04-26 22:49:56 UTC (rev 6164)
@@ -1,3 +1,19 @@
+/*
+ * 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.beanlookup;
import java.lang.annotation.ElementType;
Modified: extensions/trunk/src/main/java/org/jboss/weld/extensions/beans/BeanLifecycle.java
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/beans/BeanLifecycle.java 2010-04-26 15:11:56 UTC (rev 6163)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/beans/BeanLifecycle.java 2010-04-26 22:49:56 UTC (rev 6164)
@@ -1,3 +1,19 @@
+/*
+ * 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.beans;
import javax.enterprise.context.spi.CreationalContext;
Modified: extensions/trunk/src/main/java/org/jboss/weld/extensions/beans/CustomBean.java
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/beans/CustomBean.java 2010-04-26 15:11:56 UTC (rev 6163)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/beans/CustomBean.java 2010-04-26 22:49:56 UTC (rev 6164)
@@ -1,3 +1,19 @@
+/*
+ * 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.beans;
import java.lang.annotation.Annotation;
Modified: extensions/trunk/src/main/java/org/jboss/weld/extensions/beans/CustomBeanBuilder.java
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/beans/CustomBeanBuilder.java 2010-04-26 15:11:56 UTC (rev 6163)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/beans/CustomBeanBuilder.java 2010-04-26 22:49:56 UTC (rev 6164)
@@ -1,3 +1,19 @@
+/*
+ * 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.beans;
import java.lang.annotation.Annotation;
Modified: extensions/trunk/src/main/java/org/jboss/weld/extensions/beans/CustomInjectionPoint.java
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/beans/CustomInjectionPoint.java 2010-04-26 15:11:56 UTC (rev 6163)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/beans/CustomInjectionPoint.java 2010-04-26 22:49:56 UTC (rev 6164)
@@ -1,3 +1,19 @@
+/*
+ * 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.beans;
import java.lang.annotation.Annotation;
Modified: extensions/trunk/src/main/java/org/jboss/weld/extensions/beans/PassivationCapableCustomBean.java
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/beans/PassivationCapableCustomBean.java 2010-04-26 15:11:56 UTC (rev 6163)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/beans/PassivationCapableCustomBean.java 2010-04-26 22:49:56 UTC (rev 6164)
@@ -1,3 +1,19 @@
+/*
+ * 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.beans;
import java.lang.annotation.Annotation;
Modified: extensions/trunk/src/main/java/org/jboss/weld/extensions/beans/SimpleBeanLifecycle.java
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/beans/SimpleBeanLifecycle.java 2010-04-26 15:11:56 UTC (rev 6163)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/beans/SimpleBeanLifecycle.java 2010-04-26 22:49:56 UTC (rev 6164)
@@ -1,3 +1,19 @@
+/*
+ * 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.beans;
import javax.enterprise.context.spi.CreationalContext;
Modified: extensions/trunk/src/main/java/org/jboss/weld/extensions/genericbeans/FieldSetter.java
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/genericbeans/FieldSetter.java 2010-04-26 15:11:56 UTC (rev 6163)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/genericbeans/FieldSetter.java 2010-04-26 22:49:56 UTC (rev 6164)
@@ -1,3 +1,19 @@
+/*
+ * 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.genericbeans;
import java.lang.reflect.Field;
Modified: extensions/trunk/src/main/java/org/jboss/weld/extensions/genericbeans/Generic.java
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/genericbeans/Generic.java 2010-04-26 15:11:56 UTC (rev 6163)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/genericbeans/Generic.java 2010-04-26 22:49:56 UTC (rev 6164)
@@ -1,3 +1,19 @@
+/*
+ * 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.genericbeans;
import java.lang.annotation.ElementType;
Modified: extensions/trunk/src/main/java/org/jboss/weld/extensions/genericbeans/GenericAnnotation.java
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/genericbeans/GenericAnnotation.java 2010-04-26 15:11:56 UTC (rev 6163)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/genericbeans/GenericAnnotation.java 2010-04-26 22:49:56 UTC (rev 6164)
@@ -1,3 +1,19 @@
+/*
+ * 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.genericbeans;
import java.lang.annotation.ElementType;
Modified: extensions/trunk/src/main/java/org/jboss/weld/extensions/genericbeans/GenericBeanInjectionTargetWrapper.java
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/genericbeans/GenericBeanInjectionTargetWrapper.java 2010-04-26 15:11:56 UTC (rev 6163)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/genericbeans/GenericBeanInjectionTargetWrapper.java 2010-04-26 22:49:56 UTC (rev 6164)
@@ -1,3 +1,19 @@
+/*
+ * 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.genericbeans;
import java.lang.annotation.Annotation;
Modified: extensions/trunk/src/main/java/org/jboss/weld/extensions/genericbeans/GenericExtension.java
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/genericbeans/GenericExtension.java 2010-04-26 15:11:56 UTC (rev 6163)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/genericbeans/GenericExtension.java 2010-04-26 22:49:56 UTC (rev 6164)
@@ -1,3 +1,19 @@
+/*
+ * 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.genericbeans;
import java.lang.annotation.Annotation;
Modified: extensions/trunk/src/main/java/org/jboss/weld/extensions/genericbeans/InjectConfiguration.java
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/genericbeans/InjectConfiguration.java 2010-04-26 15:11:56 UTC (rev 6163)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/genericbeans/InjectConfiguration.java 2010-04-26 22:49:56 UTC (rev 6164)
@@ -1,3 +1,19 @@
+/*
+ * 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.genericbeans;
import java.lang.annotation.Retention;
Modified: extensions/trunk/src/main/java/org/jboss/weld/extensions/genericbeans/InjectGeneric.java
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/genericbeans/InjectGeneric.java 2010-04-26 15:11:56 UTC (rev 6163)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/genericbeans/InjectGeneric.java 2010-04-26 22:49:56 UTC (rev 6164)
@@ -1,3 +1,19 @@
+/*
+ * 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.genericbeans;
import java.lang.annotation.ElementType;
Modified: extensions/trunk/src/main/java/org/jboss/weld/extensions/genericbeans/InjectLiteral.java
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/genericbeans/InjectLiteral.java 2010-04-26 15:11:56 UTC (rev 6163)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/genericbeans/InjectLiteral.java 2010-04-26 22:49:56 UTC (rev 6164)
@@ -1,3 +1,19 @@
+/*
+ * 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.genericbeans;
import javax.enterprise.util.AnnotationLiteral;
Modified: extensions/trunk/src/main/java/org/jboss/weld/extensions/genericbeans/ProducerFieldInjectionTarget.java
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/genericbeans/ProducerFieldInjectionTarget.java 2010-04-26 15:11:56 UTC (rev 6163)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/genericbeans/ProducerFieldInjectionTarget.java 2010-04-26 22:49:56 UTC (rev 6164)
@@ -1,3 +1,19 @@
+/*
+ * 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.genericbeans;
import java.util.List;
Modified: extensions/trunk/src/main/java/org/jboss/weld/extensions/genericbeans/SyntheticQualifier.java
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/genericbeans/SyntheticQualifier.java 2010-04-26 15:11:56 UTC (rev 6163)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/genericbeans/SyntheticQualifier.java 2010-04-26 22:49:56 UTC (rev 6164)
@@ -1,3 +1,19 @@
+/*
+ * 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.genericbeans;
import java.lang.annotation.Retention;
Modified: extensions/trunk/src/main/java/org/jboss/weld/extensions/interceptor/InterceptorExtension.java
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/interceptor/InterceptorExtension.java 2010-04-26 15:11:56 UTC (rev 6163)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/interceptor/InterceptorExtension.java 2010-04-26 22:49:56 UTC (rev 6164)
@@ -1,3 +1,19 @@
+/*
+ * 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.interceptor;
import java.util.Collection;
Modified: extensions/trunk/src/main/java/org/jboss/weld/extensions/interceptor/Interceptors.java
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/interceptor/Interceptors.java 2010-04-26 15:11:56 UTC (rev 6163)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/interceptor/Interceptors.java 2010-04-26 22:49:56 UTC (rev 6164)
@@ -1,3 +1,19 @@
+/*
+ * 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.interceptor;
import javax.inject.Inject;
Modified: extensions/trunk/src/main/java/org/jboss/weld/extensions/log/Category.java
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/log/Category.java 2010-04-26 15:11:56 UTC (rev 6163)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/log/Category.java 2010-04-26 22:49:56 UTC (rev 6164)
@@ -1,3 +1,19 @@
+/*
+ * 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.log;
import static java.lang.annotation.ElementType.FIELD;
Modified: extensions/trunk/src/main/java/org/jboss/weld/extensions/log/LoggerProducer.java
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/log/LoggerProducer.java 2010-04-26 15:11:56 UTC (rev 6163)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/log/LoggerProducer.java 2010-04-26 22:49:56 UTC (rev 6164)
@@ -1,6 +1,6 @@
/*
* JBoss, Home of Professional Open Source
- * Copyright 2008, Red Hat Middleware LLC, and individual contributors
+ * 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.
*
Modified: extensions/trunk/src/main/java/org/jboss/weld/extensions/managedproducer/ManagedProducerBean.java
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/managedproducer/ManagedProducerBean.java 2010-04-26 15:11:56 UTC (rev 6163)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/managedproducer/ManagedProducerBean.java 2010-04-26 22:49:56 UTC (rev 6164)
@@ -1,3 +1,19 @@
+/*
+ * 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.managedproducer;
import java.lang.annotation.Annotation;
Modified: extensions/trunk/src/main/java/org/jboss/weld/extensions/managedproducer/ManagedProducerExtension.java
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/managedproducer/ManagedProducerExtension.java 2010-04-26 15:11:56 UTC (rev 6163)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/managedproducer/ManagedProducerExtension.java 2010-04-26 22:49:56 UTC (rev 6164)
@@ -1,3 +1,19 @@
+/*
+ * 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.managedproducer;
import java.util.HashSet;
Modified: extensions/trunk/src/main/java/org/jboss/weld/extensions/managedproducer/ManagedProducerInvocationHandler.java
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/managedproducer/ManagedProducerInvocationHandler.java 2010-04-26 15:11:56 UTC (rev 6163)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/managedproducer/ManagedProducerInvocationHandler.java 2010-04-26 22:49:56 UTC (rev 6164)
@@ -1,3 +1,19 @@
+/*
+ * 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.managedproducer;
import java.lang.annotation.Annotation;
Modified: extensions/trunk/src/main/java/org/jboss/weld/extensions/resources/ClasspathResourceLoader.java
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/resources/ClasspathResourceLoader.java 2010-04-26 15:11:56 UTC (rev 6163)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/resources/ClasspathResourceLoader.java 2010-04-26 22:49:56 UTC (rev 6164)
@@ -1,3 +1,19 @@
+/*
+ * 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.resources;
import java.io.IOException;
Modified: extensions/trunk/src/main/java/org/jboss/weld/extensions/resources/ResourceLoader.java
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/resources/ResourceLoader.java 2010-04-26 15:11:56 UTC (rev 6163)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/resources/ResourceLoader.java 2010-04-26 22:49:56 UTC (rev 6164)
@@ -1,3 +1,19 @@
+/*
+ * 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.resources;
import java.io.InputStream;
Modified: extensions/trunk/src/main/java/org/jboss/weld/extensions/resources/ResourceLoaderManager.java
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/resources/ResourceLoaderManager.java 2010-04-26 15:11:56 UTC (rev 6163)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/resources/ResourceLoaderManager.java 2010-04-26 22:49:56 UTC (rev 6164)
@@ -1,3 +1,19 @@
+/*
+ * 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.resources;
import java.util.ArrayList;
Modified: extensions/trunk/src/main/java/org/jboss/weld/extensions/resources/ResourceProducer.java
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/resources/ResourceProducer.java 2010-04-26 15:11:56 UTC (rev 6163)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/resources/ResourceProducer.java 2010-04-26 22:49:56 UTC (rev 6164)
@@ -1,3 +1,19 @@
+/*
+ * 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.resources;
import java.io.IOException;
Modified: extensions/trunk/src/main/java/org/jboss/weld/extensions/resources/ResourceProvider.java
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/resources/ResourceProvider.java 2010-04-26 15:11:56 UTC (rev 6163)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/resources/ResourceProvider.java 2010-04-26 22:49:56 UTC (rev 6164)
@@ -1,3 +1,19 @@
+/*
+ * 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.resources;
import java.io.IOException;
Modified: extensions/trunk/src/main/java/org/jboss/weld/extensions/util/AnnotatedTypeUtils.java
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/util/AnnotatedTypeUtils.java 2010-04-26 15:11:56 UTC (rev 6163)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/util/AnnotatedTypeUtils.java 2010-04-26 22:49:56 UTC (rev 6164)
@@ -1,6 +1,6 @@
/*
* JBoss, Home of Professional Open Source
- * Copyright 2008, Red Hat, Inc., and individual contributors
+ * 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.
*
Modified: extensions/trunk/src/main/java/org/jboss/weld/extensions/util/AnnotationInstanceProvider.java
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/util/AnnotationInstanceProvider.java 2010-04-26 15:11:56 UTC (rev 6163)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/util/AnnotationInstanceProvider.java 2010-04-26 22:49:56 UTC (rev 6164)
@@ -1,3 +1,19 @@
+/*
+ * 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.util;
import java.io.Serializable;
Modified: extensions/trunk/src/main/java/org/jboss/weld/extensions/util/AnnotationInvocationHandler.java
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/util/AnnotationInvocationHandler.java 2010-04-26 15:11:56 UTC (rev 6163)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/util/AnnotationInvocationHandler.java 2010-04-26 22:49:56 UTC (rev 6164)
@@ -1,3 +1,19 @@
+/*
+ * 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.util;
import java.io.IOException;
Modified: extensions/trunk/src/main/java/org/jboss/weld/extensions/util/BeanImpl.java
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/util/BeanImpl.java 2010-04-26 15:11:56 UTC (rev 6163)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/util/BeanImpl.java 2010-04-26 22:49:56 UTC (rev 6164)
@@ -1,3 +1,19 @@
+/*
+ * 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.util;
import java.lang.annotation.Annotation;
Modified: extensions/trunk/src/main/java/org/jboss/weld/extensions/util/NullMemberException.java
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/util/NullMemberException.java 2010-04-26 15:11:56 UTC (rev 6163)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/util/NullMemberException.java 2010-04-26 22:49:56 UTC (rev 6164)
@@ -1,3 +1,19 @@
+/*
+ * 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.util;
import java.lang.reflect.Method;
Modified: extensions/trunk/src/main/java/org/jboss/weld/extensions/util/ReflectionUtils.java
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/util/ReflectionUtils.java 2010-04-26 15:11:56 UTC (rev 6163)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/util/ReflectionUtils.java 2010-04-26 22:49:56 UTC (rev 6164)
@@ -1,3 +1,19 @@
+/*
+ * 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.util;
import java.lang.reflect.Constructor;
Modified: extensions/trunk/src/main/java/org/jboss/weld/extensions/util/Sortable.java
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/util/Sortable.java 2010-04-26 15:11:56 UTC (rev 6163)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/util/Sortable.java 2010-04-26 22:49:56 UTC (rev 6164)
@@ -1,3 +1,19 @@
+/*
+ * 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.util;
Modified: extensions/trunk/src/main/java/org/jboss/weld/extensions/util/annotated/AbstractNewAnnotatedCallable.java
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/util/annotated/AbstractNewAnnotatedCallable.java 2010-04-26 15:11:56 UTC (rev 6163)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/util/annotated/AbstractNewAnnotatedCallable.java 2010-04-26 22:49:56 UTC (rev 6164)
@@ -1,3 +1,19 @@
+/*
+ * 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.util.annotated;
import java.lang.reflect.Member;
Modified: extensions/trunk/src/main/java/org/jboss/weld/extensions/util/annotated/AbstractNewAnnotatedElement.java
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/util/annotated/AbstractNewAnnotatedElement.java 2010-04-26 15:11:56 UTC (rev 6163)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/util/annotated/AbstractNewAnnotatedElement.java 2010-04-26 22:49:56 UTC (rev 6164)
@@ -1,3 +1,19 @@
+/*
+ * 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.util.annotated;
import java.lang.annotation.Annotation;
Modified: extensions/trunk/src/main/java/org/jboss/weld/extensions/util/annotated/AbstractNewAnnotatedMember.java
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/util/annotated/AbstractNewAnnotatedMember.java 2010-04-26 15:11:56 UTC (rev 6163)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/util/annotated/AbstractNewAnnotatedMember.java 2010-04-26 22:49:56 UTC (rev 6164)
@@ -1,3 +1,19 @@
+/*
+ * 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.util.annotated;
import java.lang.reflect.Member;
Modified: extensions/trunk/src/main/java/org/jboss/weld/extensions/util/annotated/AnnotationBuilder.java
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/util/annotated/AnnotationBuilder.java 2010-04-26 15:11:56 UTC (rev 6163)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/util/annotated/AnnotationBuilder.java 2010-04-26 22:49:56 UTC (rev 6164)
@@ -1,3 +1,19 @@
+/*
+ * 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.util.annotated;
import java.lang.annotation.Annotation;
Modified: extensions/trunk/src/main/java/org/jboss/weld/extensions/util/annotated/AnnotationRedefiner.java
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/util/annotated/AnnotationRedefiner.java 2010-04-26 15:11:56 UTC (rev 6163)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/util/annotated/AnnotationRedefiner.java 2010-04-26 22:49:56 UTC (rev 6164)
@@ -1,3 +1,19 @@
+/*
+ * 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.util.annotated;
import java.lang.annotation.Annotation;
Modified: extensions/trunk/src/main/java/org/jboss/weld/extensions/util/annotated/AnnotationStore.java
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/util/annotated/AnnotationStore.java 2010-04-26 15:11:56 UTC (rev 6163)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/util/annotated/AnnotationStore.java 2010-04-26 22:49:56 UTC (rev 6164)
@@ -1,3 +1,19 @@
+/*
+ * 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.util.annotated;
import java.lang.annotation.Annotation;
Modified: extensions/trunk/src/main/java/org/jboss/weld/extensions/util/annotated/NewAnnotatedConstructor.java
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/util/annotated/NewAnnotatedConstructor.java 2010-04-26 15:11:56 UTC (rev 6163)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/util/annotated/NewAnnotatedConstructor.java 2010-04-26 22:49:56 UTC (rev 6164)
@@ -1,3 +1,19 @@
+/*
+ * 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.util.annotated;
import java.lang.reflect.Constructor;
Modified: extensions/trunk/src/main/java/org/jboss/weld/extensions/util/annotated/NewAnnotatedField.java
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/util/annotated/NewAnnotatedField.java 2010-04-26 15:11:56 UTC (rev 6163)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/util/annotated/NewAnnotatedField.java 2010-04-26 22:49:56 UTC (rev 6164)
@@ -1,3 +1,19 @@
+/*
+ * 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.util.annotated;
import java.lang.reflect.Field;
Modified: extensions/trunk/src/main/java/org/jboss/weld/extensions/util/annotated/NewAnnotatedMethod.java
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/util/annotated/NewAnnotatedMethod.java 2010-04-26 15:11:56 UTC (rev 6163)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/util/annotated/NewAnnotatedMethod.java 2010-04-26 22:49:56 UTC (rev 6164)
@@ -1,3 +1,19 @@
+/*
+ * 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.util.annotated;
import java.lang.reflect.Method;
Modified: extensions/trunk/src/main/java/org/jboss/weld/extensions/util/annotated/NewAnnotatedParameter.java
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/util/annotated/NewAnnotatedParameter.java 2010-04-26 15:11:56 UTC (rev 6163)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/util/annotated/NewAnnotatedParameter.java 2010-04-26 22:49:56 UTC (rev 6164)
@@ -1,3 +1,19 @@
+/*
+ * 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.util.annotated;
import java.lang.reflect.Type;
Modified: extensions/trunk/src/main/java/org/jboss/weld/extensions/util/annotated/NewAnnotatedType.java
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/util/annotated/NewAnnotatedType.java 2010-04-26 15:11:56 UTC (rev 6163)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/util/annotated/NewAnnotatedType.java 2010-04-26 22:49:56 UTC (rev 6164)
@@ -1,3 +1,19 @@
+/*
+ * 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.util.annotated;
import java.lang.reflect.Constructor;
Modified: extensions/trunk/src/main/java/org/jboss/weld/extensions/util/annotated/NewAnnotatedTypeBuilder.java
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/util/annotated/NewAnnotatedTypeBuilder.java 2010-04-26 15:11:56 UTC (rev 6163)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/util/annotated/NewAnnotatedTypeBuilder.java 2010-04-26 22:49:56 UTC (rev 6164)
@@ -1,3 +1,19 @@
+/*
+ * 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.util.annotated;
import java.lang.annotation.Annotation;
Modified: extensions/trunk/src/main/java/org/jboss/weld/extensions/util/annotated/TypeClosureBuilder.java
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/util/annotated/TypeClosureBuilder.java 2010-04-26 15:11:56 UTC (rev 6163)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/util/annotated/TypeClosureBuilder.java 2010-04-26 22:49:56 UTC (rev 6164)
@@ -1,3 +1,19 @@
+/*
+ * 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.util.annotated;
import java.lang.reflect.Type;
Modified: extensions/trunk/src/main/java/org/jboss/weld/extensions/util/reannotated/AnnotationRedefinition.java
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/util/reannotated/AnnotationRedefinition.java 2010-04-26 15:11:56 UTC (rev 6163)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/util/reannotated/AnnotationRedefinition.java 2010-04-26 22:49:56 UTC (rev 6164)
@@ -1,3 +1,19 @@
+/*
+ * 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.util.reannotated;
import java.lang.annotation.Annotation;
Modified: extensions/trunk/src/main/java/org/jboss/weld/extensions/util/reannotated/Reannotated.java
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/util/reannotated/Reannotated.java 2010-04-26 15:11:56 UTC (rev 6163)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/util/reannotated/Reannotated.java 2010-04-26 22:49:56 UTC (rev 6164)
@@ -1,3 +1,19 @@
+/*
+ * 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.util.reannotated;
import java.lang.annotation.Annotation;
Modified: extensions/trunk/src/main/java/org/jboss/weld/extensions/util/reannotated/ReannotatedCallable.java
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/util/reannotated/ReannotatedCallable.java 2010-04-26 15:11:56 UTC (rev 6163)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/util/reannotated/ReannotatedCallable.java 2010-04-26 22:49:56 UTC (rev 6164)
@@ -1,3 +1,19 @@
+/*
+ * 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.util.reannotated;
import java.lang.annotation.Annotation;
Modified: extensions/trunk/src/main/java/org/jboss/weld/extensions/util/reannotated/ReannotatedConstructor.java
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/util/reannotated/ReannotatedConstructor.java 2010-04-26 15:11:56 UTC (rev 6163)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/util/reannotated/ReannotatedConstructor.java 2010-04-26 22:49:56 UTC (rev 6164)
@@ -1,3 +1,19 @@
+/*
+ * 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.util.reannotated;
import java.lang.reflect.Constructor;
Modified: extensions/trunk/src/main/java/org/jboss/weld/extensions/util/reannotated/ReannotatedField.java
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/util/reannotated/ReannotatedField.java 2010-04-26 15:11:56 UTC (rev 6163)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/util/reannotated/ReannotatedField.java 2010-04-26 22:49:56 UTC (rev 6164)
@@ -1,3 +1,19 @@
+/*
+ * 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.util.reannotated;
import java.lang.annotation.Annotation;
Modified: extensions/trunk/src/main/java/org/jboss/weld/extensions/util/reannotated/ReannotatedMember.java
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/util/reannotated/ReannotatedMember.java 2010-04-26 15:11:56 UTC (rev 6163)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/util/reannotated/ReannotatedMember.java 2010-04-26 22:49:56 UTC (rev 6164)
@@ -1,3 +1,19 @@
+/*
+ * 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.util.reannotated;
import java.lang.annotation.Annotation;
Modified: extensions/trunk/src/main/java/org/jboss/weld/extensions/util/reannotated/ReannotatedMethod.java
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/util/reannotated/ReannotatedMethod.java 2010-04-26 15:11:56 UTC (rev 6163)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/util/reannotated/ReannotatedMethod.java 2010-04-26 22:49:56 UTC (rev 6164)
@@ -1,3 +1,19 @@
+/*
+ * 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.util.reannotated;
import java.lang.reflect.Method;
Modified: extensions/trunk/src/main/java/org/jboss/weld/extensions/util/reannotated/ReannotatedParameter.java
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/util/reannotated/ReannotatedParameter.java 2010-04-26 15:11:56 UTC (rev 6163)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/util/reannotated/ReannotatedParameter.java 2010-04-26 22:49:56 UTC (rev 6164)
@@ -1,3 +1,19 @@
+/*
+ * 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.util.reannotated;
import java.lang.reflect.Constructor;
Modified: extensions/trunk/src/main/java/org/jboss/weld/extensions/util/reannotated/ReannotatedType.java
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/util/reannotated/ReannotatedType.java 2010-04-26 15:11:56 UTC (rev 6163)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/util/reannotated/ReannotatedType.java 2010-04-26 22:49:56 UTC (rev 6164)
@@ -1,3 +1,19 @@
+/*
+ * 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.util.reannotated;
import java.lang.annotation.Annotation;
Modified: extensions/trunk/src/main/java/org/jboss/weld/extensions/util/service/ServiceLoader.java
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/util/service/ServiceLoader.java 2010-04-26 15:11:56 UTC (rev 6163)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/util/service/ServiceLoader.java 2010-04-26 22:49:56 UTC (rev 6164)
@@ -1,6 +1,6 @@
/*
* JBoss, Home of Professional Open Source
- * Copyright 2008, Red Hat, Inc., and individual contributors
+ * 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.
*
Modified: extensions/trunk/src/test/java/org/jboss/weld/test/extensions/beanlookup/IdentifiableBean.java
===================================================================
--- extensions/trunk/src/test/java/org/jboss/weld/test/extensions/beanlookup/IdentifiableBean.java 2010-04-26 15:11:56 UTC (rev 6163)
+++ extensions/trunk/src/test/java/org/jboss/weld/test/extensions/beanlookup/IdentifiableBean.java 2010-04-26 22:49:56 UTC (rev 6164)
@@ -1,3 +1,19 @@
+/*
+ * 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.test.extensions.beanlookup;
@IdentifiableInterceptorBinding
public class IdentifiableBean
Modified: extensions/trunk/src/test/java/org/jboss/weld/test/extensions/beanlookup/IdentifiableBeansTest.java
===================================================================
--- extensions/trunk/src/test/java/org/jboss/weld/test/extensions/beanlookup/IdentifiableBeansTest.java 2010-04-26 15:11:56 UTC (rev 6163)
+++ extensions/trunk/src/test/java/org/jboss/weld/test/extensions/beanlookup/IdentifiableBeansTest.java 2010-04-26 22:49:56 UTC (rev 6164)
@@ -1,3 +1,19 @@
+/*
+ * 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.test.extensions.beanlookup;
import javax.enterprise.inject.Default;
Modified: extensions/trunk/src/test/java/org/jboss/weld/test/extensions/beanlookup/IdentifiableInterceptorBinding.java
===================================================================
--- extensions/trunk/src/test/java/org/jboss/weld/test/extensions/beanlookup/IdentifiableInterceptorBinding.java 2010-04-26 15:11:56 UTC (rev 6163)
+++ extensions/trunk/src/test/java/org/jboss/weld/test/extensions/beanlookup/IdentifiableInterceptorBinding.java 2010-04-26 22:49:56 UTC (rev 6164)
@@ -1,3 +1,19 @@
+/*
+ * 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.test.extensions.beanlookup;
import java.lang.annotation.ElementType;
Modified: extensions/trunk/src/test/java/org/jboss/weld/test/extensions/genericbeans/GenericBeanTest.java
===================================================================
--- extensions/trunk/src/test/java/org/jboss/weld/test/extensions/genericbeans/GenericBeanTest.java 2010-04-26 15:11:56 UTC (rev 6163)
+++ extensions/trunk/src/test/java/org/jboss/weld/test/extensions/genericbeans/GenericBeanTest.java 2010-04-26 22:49:56 UTC (rev 6164)
@@ -1,3 +1,19 @@
+/*
+ * 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.test.extensions.genericbeans;
import org.jboss.testharness.impl.packaging.Artifact;
Modified: extensions/trunk/src/test/java/org/jboss/weld/test/extensions/genericbeans/GenericConstructorArgument.java
===================================================================
--- extensions/trunk/src/test/java/org/jboss/weld/test/extensions/genericbeans/GenericConstructorArgument.java 2010-04-26 15:11:56 UTC (rev 6163)
+++ extensions/trunk/src/test/java/org/jboss/weld/test/extensions/genericbeans/GenericConstructorArgument.java 2010-04-26 22:49:56 UTC (rev 6164)
@@ -1,3 +1,19 @@
+/*
+ * 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.test.extensions.genericbeans;
import javax.inject.Inject;
Modified: extensions/trunk/src/test/java/org/jboss/weld/test/extensions/genericbeans/GenericDep.java
===================================================================
--- extensions/trunk/src/test/java/org/jboss/weld/test/extensions/genericbeans/GenericDep.java 2010-04-26 15:11:56 UTC (rev 6163)
+++ extensions/trunk/src/test/java/org/jboss/weld/test/extensions/genericbeans/GenericDep.java 2010-04-26 22:49:56 UTC (rev 6164)
@@ -1,3 +1,19 @@
+/*
+ * 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.test.extensions.genericbeans;
import javax.inject.Inject;
Modified: extensions/trunk/src/test/java/org/jboss/weld/test/extensions/genericbeans/GenericMain.java
===================================================================
--- extensions/trunk/src/test/java/org/jboss/weld/test/extensions/genericbeans/GenericMain.java 2010-04-26 15:11:56 UTC (rev 6163)
+++ extensions/trunk/src/test/java/org/jboss/weld/test/extensions/genericbeans/GenericMain.java 2010-04-26 22:49:56 UTC (rev 6164)
@@ -1,3 +1,19 @@
+/*
+ * 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.test.extensions.genericbeans;
import javax.inject.Inject;
Modified: extensions/trunk/src/test/java/org/jboss/weld/test/extensions/genericbeans/GenericProducer.java
===================================================================
--- extensions/trunk/src/test/java/org/jboss/weld/test/extensions/genericbeans/GenericProducer.java 2010-04-26 15:11:56 UTC (rev 6163)
+++ extensions/trunk/src/test/java/org/jboss/weld/test/extensions/genericbeans/GenericProducer.java 2010-04-26 22:49:56 UTC (rev 6164)
@@ -1,3 +1,19 @@
+/*
+ * 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.test.extensions.genericbeans;
import javax.enterprise.inject.Produces;
Modified: extensions/trunk/src/test/java/org/jboss/weld/test/extensions/genericbeans/InjectedBean.java
===================================================================
--- extensions/trunk/src/test/java/org/jboss/weld/test/extensions/genericbeans/InjectedBean.java 2010-04-26 15:11:56 UTC (rev 6163)
+++ extensions/trunk/src/test/java/org/jboss/weld/test/extensions/genericbeans/InjectedBean.java 2010-04-26 22:49:56 UTC (rev 6164)
@@ -1,3 +1,19 @@
+/*
+ * 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.test.extensions.genericbeans;
import javax.inject.Inject;
Modified: extensions/trunk/src/test/java/org/jboss/weld/test/extensions/genericbeans/NormalBean.java
===================================================================
--- extensions/trunk/src/test/java/org/jboss/weld/test/extensions/genericbeans/NormalBean.java 2010-04-26 15:11:56 UTC (rev 6163)
+++ extensions/trunk/src/test/java/org/jboss/weld/test/extensions/genericbeans/NormalBean.java 2010-04-26 22:49:56 UTC (rev 6164)
@@ -1,3 +1,19 @@
+/*
+ * 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.test.extensions.genericbeans;
public class NormalBean
Modified: extensions/trunk/src/test/java/org/jboss/weld/test/extensions/genericbeans/SomeQualifier.java
===================================================================
--- extensions/trunk/src/test/java/org/jboss/weld/test/extensions/genericbeans/SomeQualifier.java 2010-04-26 15:11:56 UTC (rev 6163)
+++ extensions/trunk/src/test/java/org/jboss/weld/test/extensions/genericbeans/SomeQualifier.java 2010-04-26 22:49:56 UTC (rev 6164)
@@ -1,3 +1,19 @@
+/*
+ * 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.test.extensions.genericbeans;
import java.lang.annotation.Retention;
Modified: extensions/trunk/src/test/java/org/jboss/weld/test/extensions/genericbeans/TestAnnotation.java
===================================================================
--- extensions/trunk/src/test/java/org/jboss/weld/test/extensions/genericbeans/TestAnnotation.java 2010-04-26 15:11:56 UTC (rev 6163)
+++ extensions/trunk/src/test/java/org/jboss/weld/test/extensions/genericbeans/TestAnnotation.java 2010-04-26 22:49:56 UTC (rev 6164)
@@ -1,3 +1,19 @@
+/*
+ * 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.test.extensions.genericbeans;
import java.lang.annotation.Retention;
Modified: extensions/trunk/src/test/java/org/jboss/weld/test/extensions/interceptor/BarInterceptor.java
===================================================================
--- extensions/trunk/src/test/java/org/jboss/weld/test/extensions/interceptor/BarInterceptor.java 2010-04-26 15:11:56 UTC (rev 6163)
+++ extensions/trunk/src/test/java/org/jboss/weld/test/extensions/interceptor/BarInterceptor.java 2010-04-26 22:49:56 UTC (rev 6164)
@@ -1,3 +1,19 @@
+/*
+ * 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.test.extensions.interceptor;
import javax.interceptor.AroundInvoke;
Modified: extensions/trunk/src/test/java/org/jboss/weld/test/extensions/interceptor/Foo.java
===================================================================
--- extensions/trunk/src/test/java/org/jboss/weld/test/extensions/interceptor/Foo.java 2010-04-26 15:11:56 UTC (rev 6163)
+++ extensions/trunk/src/test/java/org/jboss/weld/test/extensions/interceptor/Foo.java 2010-04-26 22:49:56 UTC (rev 6164)
@@ -1,3 +1,19 @@
+/*
+ * 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.test.extensions.interceptor;
public class Foo
Modified: extensions/trunk/src/test/java/org/jboss/weld/test/extensions/interceptor/FooInterceptor.java
===================================================================
--- extensions/trunk/src/test/java/org/jboss/weld/test/extensions/interceptor/FooInterceptor.java 2010-04-26 15:11:56 UTC (rev 6163)
+++ extensions/trunk/src/test/java/org/jboss/weld/test/extensions/interceptor/FooInterceptor.java 2010-04-26 22:49:56 UTC (rev 6164)
@@ -1,3 +1,19 @@
+/*
+ * 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.test.extensions.interceptor;
import javax.interceptor.AroundInvoke;
Modified: extensions/trunk/src/test/java/org/jboss/weld/test/extensions/interceptor/InterceptorsTest.java
===================================================================
--- extensions/trunk/src/test/java/org/jboss/weld/test/extensions/interceptor/InterceptorsTest.java 2010-04-26 15:11:56 UTC (rev 6163)
+++ extensions/trunk/src/test/java/org/jboss/weld/test/extensions/interceptor/InterceptorsTest.java 2010-04-26 22:49:56 UTC (rev 6164)
@@ -1,3 +1,19 @@
+/*
+ * 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.test.extensions.interceptor;
import org.jboss.testharness.impl.packaging.Artifact;
Modified: extensions/trunk/src/test/java/org/jboss/weld/test/extensions/log/Finch.java
===================================================================
--- extensions/trunk/src/test/java/org/jboss/weld/test/extensions/log/Finch.java 2010-04-26 15:11:56 UTC (rev 6163)
+++ extensions/trunk/src/test/java/org/jboss/weld/test/extensions/log/Finch.java 2010-04-26 22:49:56 UTC (rev 6164)
@@ -1,3 +1,19 @@
+/*
+ * 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.test.extensions.log;
import javax.inject.Inject;
Modified: extensions/trunk/src/test/java/org/jboss/weld/test/extensions/log/LoggerInjectionTest.java
===================================================================
--- extensions/trunk/src/test/java/org/jboss/weld/test/extensions/log/LoggerInjectionTest.java 2010-04-26 15:11:56 UTC (rev 6163)
+++ extensions/trunk/src/test/java/org/jboss/weld/test/extensions/log/LoggerInjectionTest.java 2010-04-26 22:49:56 UTC (rev 6164)
@@ -1,6 +1,6 @@
/*
* JBoss, Home of Professional Open Source
- * Copyright 2008, Red Hat Middleware LLC, and individual contributors
+ * 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.
*
Modified: extensions/trunk/src/test/java/org/jboss/weld/test/extensions/log/Sparrow.java
===================================================================
--- extensions/trunk/src/test/java/org/jboss/weld/test/extensions/log/Sparrow.java 2010-04-26 15:11:56 UTC (rev 6163)
+++ extensions/trunk/src/test/java/org/jboss/weld/test/extensions/log/Sparrow.java 2010-04-26 22:49:56 UTC (rev 6164)
@@ -1,3 +1,19 @@
+/*
+ * 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.test.extensions.log;
import javax.inject.Inject;
Modified: extensions/trunk/src/test/java/org/jboss/weld/test/extensions/managedproducer/BeanProducer.java
===================================================================
--- extensions/trunk/src/test/java/org/jboss/weld/test/extensions/managedproducer/BeanProducer.java 2010-04-26 15:11:56 UTC (rev 6163)
+++ extensions/trunk/src/test/java/org/jboss/weld/test/extensions/managedproducer/BeanProducer.java 2010-04-26 22:49:56 UTC (rev 6164)
@@ -1,3 +1,19 @@
+/*
+ * 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.test.extensions.managedproducer;
import javax.enterprise.inject.spi.InjectionPoint;
Modified: extensions/trunk/src/test/java/org/jboss/weld/test/extensions/managedproducer/MPType.java
===================================================================
--- extensions/trunk/src/test/java/org/jboss/weld/test/extensions/managedproducer/MPType.java 2010-04-26 15:11:56 UTC (rev 6163)
+++ extensions/trunk/src/test/java/org/jboss/weld/test/extensions/managedproducer/MPType.java 2010-04-26 22:49:56 UTC (rev 6164)
@@ -1,3 +1,19 @@
+/*
+ * 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.test.extensions.managedproducer;
import java.lang.annotation.Retention;
Modified: extensions/trunk/src/test/java/org/jboss/weld/test/extensions/managedproducer/ManagedProducerTest.java
===================================================================
--- extensions/trunk/src/test/java/org/jboss/weld/test/extensions/managedproducer/ManagedProducerTest.java 2010-04-26 15:11:56 UTC (rev 6163)
+++ extensions/trunk/src/test/java/org/jboss/weld/test/extensions/managedproducer/ManagedProducerTest.java 2010-04-26 22:49:56 UTC (rev 6164)
@@ -1,3 +1,19 @@
+/*
+ * 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.test.extensions.managedproducer;
import org.jboss.testharness.impl.packaging.Artifact;
Modified: extensions/trunk/src/test/java/org/jboss/weld/test/extensions/managedproducer/ManagedReciever.java
===================================================================
--- extensions/trunk/src/test/java/org/jboss/weld/test/extensions/managedproducer/ManagedReciever.java 2010-04-26 15:11:56 UTC (rev 6163)
+++ extensions/trunk/src/test/java/org/jboss/weld/test/extensions/managedproducer/ManagedReciever.java 2010-04-26 22:49:56 UTC (rev 6164)
@@ -1,3 +1,19 @@
+/*
+ * 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.test.extensions.managedproducer;
import javax.inject.Inject;
Modified: extensions/trunk/src/test/java/org/jboss/weld/test/extensions/managedproducer/ProducedBean.java
===================================================================
--- extensions/trunk/src/test/java/org/jboss/weld/test/extensions/managedproducer/ProducedBean.java 2010-04-26 15:11:56 UTC (rev 6163)
+++ extensions/trunk/src/test/java/org/jboss/weld/test/extensions/managedproducer/ProducedBean.java 2010-04-26 22:49:56 UTC (rev 6164)
@@ -1,3 +1,19 @@
+/*
+ * 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.test.extensions.managedproducer;
import org.jboss.weld.extensions.Veto;
Modified: extensions/trunk/src/test/java/org/jboss/weld/test/extensions/managedproducer/ProducedInterface.java
===================================================================
--- extensions/trunk/src/test/java/org/jboss/weld/test/extensions/managedproducer/ProducedInterface.java 2010-04-26 15:11:56 UTC (rev 6163)
+++ extensions/trunk/src/test/java/org/jboss/weld/test/extensions/managedproducer/ProducedInterface.java 2010-04-26 22:49:56 UTC (rev 6164)
@@ -1,3 +1,19 @@
+/*
+ * 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.test.extensions.managedproducer;
public interface ProducedInterface
Modified: extensions/trunk/src/test/java/org/jboss/weld/test/extensions/resources/ResourceClient.java
===================================================================
--- extensions/trunk/src/test/java/org/jboss/weld/test/extensions/resources/ResourceClient.java 2010-04-26 15:11:56 UTC (rev 6163)
+++ extensions/trunk/src/test/java/org/jboss/weld/test/extensions/resources/ResourceClient.java 2010-04-26 22:49:56 UTC (rev 6164)
@@ -1,3 +1,19 @@
+/*
+ * 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.test.extensions.resources;
import javax.enterprise.context.RequestScoped;
Modified: extensions/trunk/src/test/java/org/jboss/weld/test/extensions/resources/ResourceLoaderTest.java
===================================================================
--- extensions/trunk/src/test/java/org/jboss/weld/test/extensions/resources/ResourceLoaderTest.java 2010-04-26 15:11:56 UTC (rev 6163)
+++ extensions/trunk/src/test/java/org/jboss/weld/test/extensions/resources/ResourceLoaderTest.java 2010-04-26 22:49:56 UTC (rev 6164)
@@ -1,6 +1,6 @@
/*
* JBoss, Home of Professional Open Source
- * Copyright 2008, Red Hat Middleware LLC, and individual contributors
+ * 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.
*
Modified: extensions/trunk/src/test/java/org/jboss/weld/test/extensions/util/AnnotatedClass.java
===================================================================
--- extensions/trunk/src/test/java/org/jboss/weld/test/extensions/util/AnnotatedClass.java 2010-04-26 15:11:56 UTC (rev 6163)
+++ extensions/trunk/src/test/java/org/jboss/weld/test/extensions/util/AnnotatedClass.java 2010-04-26 22:49:56 UTC (rev 6164)
@@ -1,3 +1,19 @@
+/*
+ * 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.test.extensions.util;
@SimpleAnnotation
Modified: extensions/trunk/src/test/java/org/jboss/weld/test/extensions/util/AnnotationInstanceProviderTest.java
===================================================================
--- extensions/trunk/src/test/java/org/jboss/weld/test/extensions/util/AnnotationInstanceProviderTest.java 2010-04-26 15:11:56 UTC (rev 6163)
+++ extensions/trunk/src/test/java/org/jboss/weld/test/extensions/util/AnnotationInstanceProviderTest.java 2010-04-26 22:49:56 UTC (rev 6164)
@@ -1,3 +1,19 @@
+/*
+ * 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.test.extensions.util;
import java.util.Collections;
Modified: extensions/trunk/src/test/java/org/jboss/weld/test/extensions/util/IntMemberAnnotation.java
===================================================================
--- extensions/trunk/src/test/java/org/jboss/weld/test/extensions/util/IntMemberAnnotation.java 2010-04-26 15:11:56 UTC (rev 6163)
+++ extensions/trunk/src/test/java/org/jboss/weld/test/extensions/util/IntMemberAnnotation.java 2010-04-26 22:49:56 UTC (rev 6164)
@@ -1,3 +1,19 @@
+/*
+ * 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.test.extensions.util;
import java.lang.annotation.Retention;
Modified: extensions/trunk/src/test/java/org/jboss/weld/test/extensions/util/MultipleMembers.java
===================================================================
--- extensions/trunk/src/test/java/org/jboss/weld/test/extensions/util/MultipleMembers.java 2010-04-26 15:11:56 UTC (rev 6163)
+++ extensions/trunk/src/test/java/org/jboss/weld/test/extensions/util/MultipleMembers.java 2010-04-26 22:49:56 UTC (rev 6164)
@@ -1,3 +1,19 @@
+/*
+ * 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.test.extensions.util;
import java.lang.annotation.Retention;
Modified: extensions/trunk/src/test/java/org/jboss/weld/test/extensions/util/SimpleAnnotation.java
===================================================================
--- extensions/trunk/src/test/java/org/jboss/weld/test/extensions/util/SimpleAnnotation.java 2010-04-26 15:11:56 UTC (rev 6163)
+++ extensions/trunk/src/test/java/org/jboss/weld/test/extensions/util/SimpleAnnotation.java 2010-04-26 22:49:56 UTC (rev 6164)
@@ -1,3 +1,19 @@
+/*
+ * 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.test.extensions.util;
import java.lang.annotation.Retention;
Modified: extensions/trunk/src/test/java/org/slf4j/impl/StaticLoggerBinder.java
===================================================================
--- extensions/trunk/src/test/java/org/slf4j/impl/StaticLoggerBinder.java 2010-04-26 15:11:56 UTC (rev 6163)
+++ extensions/trunk/src/test/java/org/slf4j/impl/StaticLoggerBinder.java 2010-04-26 22:49:56 UTC (rev 6164)
@@ -1,25 +1,18 @@
-/*
- * Copyright (c) 2004-2007 QOS.ch
- * All rights reserved.
- *
- * Permission is hereby granted, free of charge, to any person obtaining
- * a copy of this software and associated documentation files (the
- * "Software"), to deal in the Software without restriction, including
- * without limitation the rights to use, copy, modify, merge, publish,
- * distribute, sublicense, and/or sell copies of the Software, and to
- * permit persons to whom the Software is furnished to do so, subject to
- * the following conditions:
- *
- * The above copyright notice and this permission notice shall be
- * included in all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
- * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
- * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
- * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
- * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
- * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
- * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+/*
+ * 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.slf4j.impl;
Modified: extensions/trunk/src/test/java/org/slf4j/impl/StaticMarkerBinder.java
===================================================================
--- extensions/trunk/src/test/java/org/slf4j/impl/StaticMarkerBinder.java 2010-04-26 15:11:56 UTC (rev 6163)
+++ extensions/trunk/src/test/java/org/slf4j/impl/StaticMarkerBinder.java 2010-04-26 22:49:56 UTC (rev 6164)
@@ -1,25 +1,18 @@
-/*
- * Copyright (c) 2004-2007 QOS.ch
- * All rights reserved.
- *
- * Permission is hereby granted, free of charge, to any person obtaining
- * a copy of this software and associated documentation files (the
- * "Software"), to deal in the Software without restriction, including
- * without limitation the rights to use, copy, modify, merge, publish,
- * distribute, sublicense, and/or sell copies of the Software, and to
- * permit persons to whom the Software is furnished to do so, subject to
- * the following conditions:
- *
- * The above copyright notice and this permission notice shall be
- * included in all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
- * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
- * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
- * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
- * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
- * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
- * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+/*
+ * 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.
*/
Modified: extensions/trunk/src/test/java/org/slf4j/impl/TestLogger.java
===================================================================
--- extensions/trunk/src/test/java/org/slf4j/impl/TestLogger.java 2010-04-26 15:11:56 UTC (rev 6163)
+++ extensions/trunk/src/test/java/org/slf4j/impl/TestLogger.java 2010-04-26 22:49:56 UTC (rev 6164)
@@ -1,3 +1,19 @@
+/*
+ * 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.slf4j.impl;
import org.slf4j.helpers.MarkerIgnoringBase;
Modified: extensions/trunk/src/test/java/org/slf4j/impl/TestLoggerFactory.java
===================================================================
--- extensions/trunk/src/test/java/org/slf4j/impl/TestLoggerFactory.java 2010-04-26 15:11:56 UTC (rev 6163)
+++ extensions/trunk/src/test/java/org/slf4j/impl/TestLoggerFactory.java 2010-04-26 22:49:56 UTC (rev 6164)
@@ -1,3 +1,19 @@
+/*
+ * 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.slf4j.impl;
import org.slf4j.ILoggerFactory;
14 years, 8 months
Weld SVN: r6163 - in extensions/trunk/src/main: java/org/jboss/weld/extensions/resources and 3 other directories.
by weld-commits@lists.jboss.org
Author: pete.muir(a)jboss.org
Date: 2010-04-26 11:11:56 -0400 (Mon, 26 Apr 2010)
New Revision: 6163
Added:
extensions/trunk/src/main/java/org/jboss/weld/extensions/resources/ClasspathResourceLoader.java
extensions/trunk/src/main/java/org/jboss/weld/extensions/resources/ResourceLoader.java
extensions/trunk/src/main/java/org/jboss/weld/extensions/resources/ResourceLoaderManager.java
extensions/trunk/src/main/java/org/jboss/weld/extensions/util/Sortable.java
extensions/trunk/src/main/java/org/jboss/weld/extensions/util/service/ServiceLoader.java
extensions/trunk/src/main/resources/META-INF/services/org.jboss.weld.extensions.resources.ResourceLoader
Removed:
extensions/trunk/src/main/java/org/jboss/weld/extensions/resources/spi/
extensions/trunk/src/main/java/org/jboss/weld/extensions/util/service/DefaultServiceLoader.java
extensions/trunk/src/main/java/org/jboss/weld/extensions/util/service/DefaultServiceLoaderFactory.java
extensions/trunk/src/main/java/org/jboss/weld/extensions/util/service/ServiceLoaderFactory.java
Modified:
extensions/trunk/src/main/java/org/jboss/weld/extensions/beanManager/BeanManagerAware.java
extensions/trunk/src/main/java/org/jboss/weld/extensions/beanManager/BeanManagerProvider.java
extensions/trunk/src/main/java/org/jboss/weld/extensions/resources/ResourceProducer.java
extensions/trunk/src/main/java/org/jboss/weld/extensions/resources/ResourceProvider.java
Log:
clean up service loader exception handling to be specific about what it catches and what it does with errors, remove junk files, remove uneeded load methods, alter resource loader to use META-INF/services, extract out Sortable
Modified: extensions/trunk/src/main/java/org/jboss/weld/extensions/beanManager/BeanManagerAware.java
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/beanManager/BeanManagerAware.java 2010-04-26 11:35:59 UTC (rev 6162)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/beanManager/BeanManagerAware.java 2010-04-26 15:11:56 UTC (rev 6163)
@@ -23,7 +23,6 @@
import java.util.ArrayList;
import java.util.Collections;
-import java.util.Comparator;
import java.util.Iterator;
import java.util.List;
@@ -31,7 +30,8 @@
import javax.enterprise.inject.spi.Extension;
import javax.inject.Inject;
-import org.jboss.weld.extensions.util.service.DefaultServiceLoader;
+import org.jboss.weld.extensions.util.Sortable;
+import org.jboss.weld.extensions.util.service.ServiceLoader;
/**
* Super-class for non-CDI-native components that need a reference to the
@@ -54,21 +54,13 @@
private void loadServices()
{
beanManagerProviders.clear();
- Iterator<BeanManagerProvider> providers = DefaultServiceLoader.load(BeanManagerProvider.class).iterator();
+ Iterator<BeanManagerProvider> providers = ServiceLoader.load(BeanManagerProvider.class).iterator();
while (providers.hasNext())
{
beanManagerProviders.add(providers.next());
}
}
- private class ProviderWeightSorter implements Comparator<BeanManagerProvider>
- {
- public int compare(BeanManagerProvider provider1, BeanManagerProvider provider2)
- {
- return -1 * Integer.valueOf(provider1.getPrecedence()).compareTo(Integer.valueOf(provider2.getPrecedence()));
- }
- }
-
protected BeanManager getBeanManager()
{
if (beanManager == null)
@@ -76,7 +68,7 @@
if (beanManagerProviders.isEmpty())
{
loadServices();
- Collections.sort(beanManagerProviders, new ProviderWeightSorter());
+ Collections.sort(beanManagerProviders, new Sortable.Comparator());
}
beanManager = lookupBeanManager();
}
Modified: extensions/trunk/src/main/java/org/jboss/weld/extensions/beanManager/BeanManagerProvider.java
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/beanManager/BeanManagerProvider.java 2010-04-26 11:35:59 UTC (rev 6162)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/beanManager/BeanManagerProvider.java 2010-04-26 15:11:56 UTC (rev 6163)
@@ -23,13 +23,15 @@
import javax.enterprise.inject.spi.BeanManager;
+import org.jboss.weld.extensions.util.Sortable;
+
/**
* Provider for obtaining a BeanManager
*
* @author Nicklas Karlsson
*
*/
-public interface BeanManagerProvider
+public interface BeanManagerProvider extends Sortable
{
/**
* Try to obtain a BeanManager
@@ -37,11 +39,4 @@
* @return The BeanManager (or null if non found at this location)
*/
public abstract BeanManager getBeanManager();
-
- /**
- * An integer precedence value that indicates how favorable the implementation
- * considers itself amongst alternatives. A higher value is a higher
- * precedence. If two implementations have the save precedence, the order is undetermined.
- */
- public abstract int getPrecedence();
}
Copied: extensions/trunk/src/main/java/org/jboss/weld/extensions/resources/ClasspathResourceLoader.java (from rev 6159, extensions/trunk/src/main/java/org/jboss/weld/extensions/resources/spi/ResourceLoaderImpl.java)
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/resources/ClasspathResourceLoader.java (rev 0)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/resources/ClasspathResourceLoader.java 2010-04-26 15:11:56 UTC (rev 6163)
@@ -0,0 +1,127 @@
+package org.jboss.weld.extensions.resources;
+
+import java.io.IOException;
+import java.io.InputStream;
+import java.net.URL;
+import java.util.Enumeration;
+import java.util.HashSet;
+import java.util.Set;
+
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
+class ClasspathResourceLoader implements ResourceLoader
+{
+
+ private static final Logger log = LoggerFactory.getLogger("org.jboss.weld.extensions.resources");
+
+ ClasspathResourceLoader()
+ {
+ }
+
+ public InputStream getResourceAsStream(String name)
+ {
+ // Always use the strippedName, classloader always assumes no starting /
+ String strippedName = getStrippedName(name);
+ // Try to load from the TCCL
+ if (Thread.currentThread().getContextClassLoader() != null)
+ {
+ InputStream stream = Thread.currentThread().getContextClassLoader().getResourceAsStream(strippedName);
+ if (stream != null)
+ {
+ log.trace("Loaded resource from context classloader: " + strippedName);
+ return stream;
+ }
+ }
+ // Try to load from the extension's classloader
+ else
+ {
+ InputStream stream = ResourceProducer.class.getResourceAsStream(strippedName);
+ if (stream != null)
+ {
+ log.trace("Loaded resource from Seam classloader: " + strippedName);
+ return stream;
+ }
+ }
+ return null;
+ }
+
+ public URL getResource(String name)
+ {
+ // Always use the strippedName, classloader always assumes no starting /
+ String strippedName = getStrippedName(name);
+ // Try to load from the TCCL
+ if (Thread.currentThread().getContextClassLoader() != null)
+ {
+ URL url = Thread.currentThread().getContextClassLoader().getResource(strippedName);
+ if (url != null)
+ {
+ log.trace("Loaded resource from context classloader: " + strippedName);
+ return url;
+ }
+ }
+ // Try to load from the extension's classloader
+ else
+ {
+ URL url = ResourceProducer.class.getResource(strippedName);
+ if (url != null)
+ {
+ log.trace("Loaded resource from Seam classloader: " + strippedName);
+ return url;
+ }
+ }
+ return null;
+ }
+
+
+ public Set<URL> getResources(String name)
+ {
+ Set<URL> urls = new HashSet<URL>();
+ // Always use the strippedName, classloader always assumes no starting /
+ String strippedName = getStrippedName(name);
+ // Try to load from the TCCL
+ if (Thread.currentThread().getContextClassLoader() != null)
+ {
+ try
+ {
+ Enumeration<URL> urlEnum = Thread.currentThread().getContextClassLoader().getResources(strippedName);
+ while (urlEnum.hasMoreElements())
+ {
+ urls.add(urlEnum.nextElement());
+ }
+ }
+ catch (IOException e)
+ {
+ // we are probably not going to recover from an IOException
+ throw new RuntimeException(e);
+ }
+ }
+ // Try to load from the extension's classloader
+ else
+ {
+ try
+ {
+ Enumeration<URL> urlEnum = ResourceProducer.class.getClassLoader().getResources(strippedName);
+ while (urlEnum.hasMoreElements())
+ {
+ urls.add(urlEnum.nextElement());
+ }
+ }
+ catch (IOException e)
+ {
+ throw new RuntimeException(e);
+ }
+ }
+ return urls;
+ }
+
+ public int getPrecedence()
+ {
+ return 10;
+ }
+
+ private static String getStrippedName(String name)
+ {
+ return name.startsWith("/") ? name.substring(1) : name;
+ }
+}
Property changes on: extensions/trunk/src/main/java/org/jboss/weld/extensions/resources/ClasspathResourceLoader.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:eol-style
+ native
Copied: extensions/trunk/src/main/java/org/jboss/weld/extensions/resources/ResourceLoader.java (from rev 6159, extensions/trunk/src/main/java/org/jboss/weld/extensions/resources/spi/ResourceLoader.java)
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/resources/ResourceLoader.java (rev 0)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/resources/ResourceLoader.java 2010-04-26 15:11:56 UTC (rev 6163)
@@ -0,0 +1,18 @@
+package org.jboss.weld.extensions.resources;
+
+import java.io.InputStream;
+import java.net.URL;
+import java.util.Set;
+
+import org.jboss.weld.extensions.util.Sortable;
+
+public interface ResourceLoader extends Sortable
+{
+
+ public URL getResource(String resource);
+
+ public InputStream getResourceAsStream(String name);
+
+ public Set<URL> getResources(String name);
+
+}
Property changes on: extensions/trunk/src/main/java/org/jboss/weld/extensions/resources/ResourceLoader.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:eol-style
+ native
Added: extensions/trunk/src/main/java/org/jboss/weld/extensions/resources/ResourceLoaderManager.java
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/resources/ResourceLoaderManager.java (rev 0)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/resources/ResourceLoaderManager.java 2010-04-26 15:11:56 UTC (rev 6163)
@@ -0,0 +1,39 @@
+package org.jboss.weld.extensions.resources;
+
+import java.util.ArrayList;
+import java.util.Collections;
+import java.util.List;
+
+import javax.annotation.PostConstruct;
+import javax.enterprise.context.ApplicationScoped;
+
+import org.jboss.weld.extensions.util.Sortable;
+import org.jboss.weld.extensions.util.service.ServiceLoader;
+
+@ApplicationScoped
+class ResourceLoaderManager
+{
+
+ private final List<ResourceLoader> resourceLoaders;
+
+ ResourceLoaderManager()
+ {
+ this.resourceLoaders = new ArrayList<ResourceLoader>();
+ }
+
+ @PostConstruct
+ void init()
+ {
+ for (ResourceLoader resourceLoader : ServiceLoader.load(ResourceLoader.class))
+ {
+ resourceLoaders.add(resourceLoader);
+ }
+ Collections.sort(resourceLoaders, new Sortable.Comparator());
+ }
+
+ public Iterable<ResourceLoader> getResourceLoaders()
+ {
+ return resourceLoaders;
+ }
+
+}
Property changes on: extensions/trunk/src/main/java/org/jboss/weld/extensions/resources/ResourceLoaderManager.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:eol-style
+ native
Modified: extensions/trunk/src/main/java/org/jboss/weld/extensions/resources/ResourceProducer.java
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/resources/ResourceProducer.java 2010-04-26 11:35:59 UTC (rev 6162)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/resources/ResourceProducer.java 2010-04-26 15:11:56 UTC (rev 6163)
@@ -12,26 +12,40 @@
import javax.inject.Inject;
import org.jboss.weld.extensions.Resource;
-import org.jboss.weld.extensions.resources.spi.ResourceLoader;
-public class ResourceProducer
+/**
+ * Resource producer allows injecting of resources
+ *
+ * @author pmuir
+ *
+ */
+class ResourceProducer
{
- private final ResourceLoader loader;
+ private final ResourceLoaderManager resourceLoaderManager;
@Inject
- private ResourceProducer(ResourceLoader loader)
+ ResourceProducer(ResourceLoaderManager resourceLoaderManager)
{
- this.loader = loader;
+ this.resourceLoaderManager = resourceLoaderManager;
}
@Produces @Resource("")
- protected InputStream loadResourceStream(InjectionPoint injectionPoint) throws IOException
+ InputStream loadResourceStream(InjectionPoint injectionPoint) throws IOException
{
- return loader.getResourceAsStream(getName(injectionPoint));
+ String name = getName(injectionPoint);
+ for (ResourceLoader loader : resourceLoaderManager.getResourceLoaders())
+ {
+ InputStream is = loader.getResourceAsStream(name);
+ if (is != null)
+ {
+ return is;
+ }
+ }
+ return null;
}
- protected void closeResourceStream(@Disposes @Resource("") InputStream inputStream) throws IOException
+ void closeResourceStream(@Disposes @Resource("") InputStream inputStream) throws IOException
{
try
{
@@ -44,9 +58,18 @@
}
@Produces @Resource("")
- protected URL loadResource(InjectionPoint injectionPoint)
+ URL loadResource(InjectionPoint injectionPoint)
{
- return loader.getResource(getName(injectionPoint));
+ String name = getName(injectionPoint);
+ for (ResourceLoader loader : resourceLoaderManager.getResourceLoaders())
+ {
+ URL url = loader.getResource(name);
+ if (url != null)
+ {
+ return url;
+ }
+ }
+ return null;
}
private String getName(InjectionPoint ip)
Modified: extensions/trunk/src/main/java/org/jboss/weld/extensions/resources/ResourceProvider.java
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/resources/ResourceProvider.java 2010-04-26 11:35:59 UTC (rev 6162)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/resources/ResourceProvider.java 2010-04-26 15:11:56 UTC (rev 6163)
@@ -18,7 +18,7 @@
import org.jboss.weld.extensions.util.AnnotationInstanceProvider;
/**
- * The ResourceLoader allows dynamic loading of managed resources.
+ * The ResourceProvider allows dynamic loading of managed resources.
*
* If a input stream is loaded, it will be automatically closed when the InputStream goes
* out of scope. If a URL is used to create an input stream, the application is responsible
Added: extensions/trunk/src/main/java/org/jboss/weld/extensions/util/Sortable.java
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/util/Sortable.java (rev 0)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/util/Sortable.java 2010-04-26 15:11:56 UTC (rev 6163)
@@ -0,0 +1,34 @@
+package org.jboss.weld.extensions.util;
+
+
+/**
+ * A Sortable class is given a precedence which is used to decide it's relative order
+ *
+ * @author pmuir
+ *
+ */
+public interface Sortable
+{
+
+ /**
+ * A comparator which can order Sortables
+ *
+ * @author pmuir
+ *
+ */
+ public class Comparator implements java.util.Comparator<Sortable>
+ {
+ public int compare(Sortable arg1, Sortable arg2)
+ {
+ return -1 * Integer.valueOf(arg1.getPrecedence()).compareTo(Integer.valueOf(arg2.getPrecedence()));
+ }
+ }
+
+ /**
+ * An integer precedence value that indicates how favorable the implementation
+ * considers itself amongst alternatives. A higher value is a higher
+ * precedence. If two implementations have the save precedence, the order is undetermined.
+ */
+ public abstract int getPrecedence();
+
+}
\ No newline at end of file
Property changes on: extensions/trunk/src/main/java/org/jboss/weld/extensions/util/Sortable.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:eol-style
+ native
Deleted: extensions/trunk/src/main/java/org/jboss/weld/extensions/util/service/DefaultServiceLoader.java
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/util/service/DefaultServiceLoader.java 2010-04-26 11:35:59 UTC (rev 6162)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/util/service/DefaultServiceLoader.java 2010-04-26 15:11:56 UTC (rev 6163)
@@ -1,336 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, 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.util.service;
-
-import java.io.BufferedReader;
-import java.io.IOException;
-import java.io.InputStream;
-import java.io.InputStreamReader;
-import java.net.URL;
-import java.util.ArrayList;
-import java.util.Enumeration;
-import java.util.HashSet;
-import java.util.Iterator;
-import java.util.List;
-import java.util.Set;
-
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-
-/**
- * This class handles looking up service providers on the class path. It
- * implements the <a href="http://java.sun.com/javase/6/docs/technotes/guides/jar/jar.html#Service%2..."
- * >Service Provider section of the JAR File Specification</a>.
- *
- * The Service Provider programmatic lookup was not specified prior to Java 6 so
- * this interface allows use of the specification prior to Java 6.
- *
- * The API is copied from <a
- * href="http://java.sun.com/javase/6/docs/api/java/util/ServiceLoader.html"
- * >java.util.ServiceLoader</a>
- *
- * @author Pete Muir
- * @author <a href="mailto:dev@avalon.apache.org">Avalon Development Team</a>
- * @author Nicklas Karlsson
- */
-public class DefaultServiceLoader<S> implements Iterable<S>
-{
- private static final String SERVICES = "META-INF/services";
-
- private static final Logger log = LoggerFactory.getLogger(DefaultServiceLoader.class);
-
- /**
- * Creates a new service loader for the given service type, using the current
- * thread's context class loader.
- *
- * An invocation of this convenience method of the form
- *
- * {@code ServiceLoader.load(service)</code>}
- *
- * is equivalent to
- *
- * <code>ServiceLoader.load(service,
- * Thread.currentThread().getContextClassLoader())</code>
- *
- * @param service The interface or abstract class representing the service
- * @return A new service loader
- */
- public static <S> DefaultServiceLoader<S> load(Class<S> service)
- {
- return load(SERVICES, service, Thread.currentThread().getContextClassLoader());
- }
-
- public static <S> DefaultServiceLoader<S> load(String directoryName, Class<S> service)
- {
- return load(directoryName, service, Thread.currentThread().getContextClassLoader());
- }
-
- public static <S> DefaultServiceLoader<S> load(String directoryName, Class<S> service, ClassLoader loader)
- {
- if (loader == null)
- {
- loader = service.getClassLoader();
- }
- return new DefaultServiceLoader<S>(directoryName, service, loader);
- }
-
- /**
- * Creates a new service loader for the given service type and class loader.
- *
- * @param service The interface or abstract class representing the service
- * @param loader The class loader to be used to load provider-configuration
- * files and provider classes, or null if the system class loader
- * (or, failing that, the bootstrap class loader) is to be used
- * @return A new service loader
- */
- public static <S> DefaultServiceLoader<S> load(Class<S> service, ClassLoader loader)
- {
- return load(SERVICES, service, loader);
- }
-
- /**
- * Creates a new service loader for the given service type, using the
- * extension class loader.
- *
- * This convenience method simply locates the extension class loader, call it
- * extClassLoader, and then returns
- *
- * <code>ServiceLoader.load(service, extClassLoader)</code>
- *
- * If the extension class loader cannot be found then the system class loader
- * is used; if there is no system class loader then the bootstrap class
- * loader is used.
- *
- * This method is intended for use when only installed providers are desired.
- * The resulting service will only find and load providers that have been
- * installed into the current Java virtual machine; providers on the
- * application's class path will be ignored.
- *
- * @param service The interface or abstract class representing the service
- * @return A new service loader
- */
- public static <S> DefaultServiceLoader<S> loadInstalled(Class<S> service)
- {
- throw new UnsupportedOperationException("Not implemented");
- }
-
- private final String serviceFile;
- private Class<S> expectedType;
- private final ClassLoader loader;
-
- private Set<S> providers;
-
- private DefaultServiceLoader(String prefix, Class<S> service, ClassLoader loader)
- {
- this.loader = loader;
- this.serviceFile = prefix + "/" + service.getName();
- this.expectedType = service;
- }
-
- /**
- * Clear this loader's provider cache so that all providers will be reloaded.
- *
- * After invoking this method, subsequent invocations of the iterator method
- * will lazily look up and instantiate providers from scratch, just as is
- * done by a newly-created loader.
- *
- * This method is intended for use in situations in which new providers can
- * be installed into a running Java virtual machine.
- */
- public void reload()
- {
- providers = new HashSet<S>();
-
- for (URL serviceFile : loadServiceFiles())
- {
- loadServiceFile(serviceFile);
- }
- }
-
- private List<URL> loadServiceFiles()
- {
- List<URL> serviceFiles = new ArrayList<URL>();
- try
- {
- Enumeration<URL> serviceFileEnumerator = loader.getResources(serviceFile);
- while (serviceFileEnumerator.hasMoreElements())
- {
- serviceFiles.add(serviceFileEnumerator.nextElement());
- }
- }
- catch (IOException e)
- {
- throw new RuntimeException("Could not load resources from " + serviceFile, e);
- }
- return serviceFiles;
- }
-
- private void loadServiceFile(URL serviceFile)
- {
- InputStream is = null;
- try
- {
- is = serviceFile.openStream();
- BufferedReader reader = new BufferedReader(new InputStreamReader(is, "UTF-8"));
- String serviceClassName = null;
- while ((serviceClassName = reader.readLine()) != null)
- {
- serviceClassName = trim(serviceClassName);
- if (serviceClassName.length() > 0)
- {
- loadService(serviceClassName);
- }
- }
- }
- catch (IOException e)
- {
- // FIXME: correct exception
- throw new RuntimeException("Could not read services file " + serviceFile);
- }
- finally
- {
- if (is != null)
- {
- try
- {
- is.close();
- }
- catch (IOException e)
- {
- // FIXME: correct exception
- throw new RuntimeException("Could not close services file " + serviceFile, e);
- }
- }
- }
- }
-
- private String trim(String line)
- {
- final int comment = line.indexOf('#');
-
- if (comment > -1)
- {
- line = line.substring(0, comment);
- }
- return line.trim();
- }
-
- private void loadService(String serviceClassName)
- {
- Class<? extends S> serviceClass = loadClass(serviceClassName);
- if (serviceClass == null)
- {
- return;
- }
- S serviceInstance = prepareInstance(serviceClass);
- if (serviceInstance == null)
- {
- return;
- }
- providers.add(serviceInstance);
- }
-
- private Class<? extends S> loadClass(String serviceClassName)
- {
- Class<?> clazz = null;
- Class<? extends S> serviceClass = null;
- try
- {
- clazz = loader.loadClass(serviceClassName);
- serviceClass = clazz.asSubclass(expectedType);
- }
- catch (ClassNotFoundException e)
- {
- log.warn("Could not load service class " + serviceClassName);
- }
- catch (ClassCastException e)
- {
- log.warn("Service class " + serviceClassName + " didn't implement the Extension interface");
- }
- return serviceClass;
- }
-
- private S prepareInstance(Class<? extends S> serviceClass)
- {
- try
- {
- // FIXME: SM compatible instatiation
- return serviceClass.newInstance();
- }
- catch (Exception e)
- {
- log.warn("Could not instantiate service class " + serviceClass.getName(), e);
- }
- return null;
- }
-
- /**
- * Lazily loads the available providers of this loader's service.
- *
- * The iterator returned by this method first yields all of the elements of
- * the provider cache, in instantiation order. It then lazily loads and
- * instantiates any remaining providers, adding each one to the cache in
- * turn.
- *
- * To achieve laziness the actual work of parsing the available
- * provider-configuration files and instantiating providers must be done by
- * the iterator itself. Its hasNext and next methods can therefore throw a
- * ServiceConfigurationError if a provider-configuration file violates the
- * specified format, or if it names a provider class that cannot be found and
- * instantiated, or if the result of instantiating the class is not
- * assignable to the service type, or if any other kind of exception or error
- * is thrown as the next provider is located and instantiated. To write
- * robust code it is only necessary to catch ServiceConfigurationError when
- * using a service iterator.
- *
- * If such an error is thrown then subsequent invocations of the iterator
- * will make a best effort to locate and instantiate the next available
- * provider, but in general such recovery cannot be guaranteed.
- *
- * Design Note Throwing an error in these cases may seem extreme. The
- * rationale for this behavior is that a malformed provider-configuration
- * file, like a malformed class file, indicates a serious problem with the
- * way the Java virtual machine is configured or is being used. As such it is
- * preferable to throw an error rather than try to recover or, even worse,
- * fail silently.
- *
- * The iterator returned by this method does not support removal. Invoking
- * its remove method will cause an UnsupportedOperationException to be
- * thrown.
- *
- * @return An iterator that lazily loads providers for this loader's service
- */
- public Iterator<S> iterator()
- {
- if (providers == null)
- {
- reload();
- }
- return providers.iterator();
- }
-
- /**
- * Returns a string describing this service.
- *
- * @return A descriptive string
- */
- @Override
- public String toString()
- {
- return "Services for " + serviceFile;
- }
-}
Deleted: extensions/trunk/src/main/java/org/jboss/weld/extensions/util/service/DefaultServiceLoaderFactory.java
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/util/service/DefaultServiceLoaderFactory.java 2010-04-26 11:35:59 UTC (rev 6162)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/util/service/DefaultServiceLoaderFactory.java 2010-04-26 15:11:56 UTC (rev 6163)
@@ -1,30 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, 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.util.service;
-
-public class DefaultServiceLoaderFactory implements ServiceLoaderFactory
-{
- public <S> DefaultServiceLoader<S> load(Class<S> service)
- {
- return DefaultServiceLoader.load(service);
- }
-
- public <S> DefaultServiceLoader<S> load(Class<S> service, ClassLoader loader)
- {
- return DefaultServiceLoader.load(service, loader);
- }
-}
Copied: extensions/trunk/src/main/java/org/jboss/weld/extensions/util/service/ServiceLoader.java (from rev 6159, extensions/trunk/src/main/java/org/jboss/weld/extensions/util/service/DefaultServiceLoader.java)
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/util/service/ServiceLoader.java (rev 0)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/util/service/ServiceLoader.java 2010-04-26 15:11:56 UTC (rev 6163)
@@ -0,0 +1,354 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2008, 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.util.service;
+
+import java.io.BufferedReader;
+import java.io.IOException;
+import java.io.InputStream;
+import java.io.InputStreamReader;
+import java.lang.reflect.Constructor;
+import java.lang.reflect.InvocationTargetException;
+import java.net.URL;
+import java.util.ArrayList;
+import java.util.Enumeration;
+import java.util.HashSet;
+import java.util.Iterator;
+import java.util.List;
+import java.util.Set;
+
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
+/**
+ * This class handles looking up service providers on the class path. It
+ * implements the <a href="http://java.sun.com/javase/6/docs/technotes/guides/jar/jar.html#Service%2..."
+ * >Service Provider section of the JAR File Specification</a>.
+ *
+ * The Service Provider programmatic lookup was not specified prior to Java 6 so
+ * this interface allows use of the specification prior to Java 6.
+ *
+ * The API is copied from <a
+ * href="http://java.sun.com/javase/6/docs/api/java/util/ServiceLoader.html"
+ * >java.util.ServiceLoader</a>
+ *
+ * @author Pete Muir
+ * @author <a href="mailto:dev@avalon.apache.org">Avalon Development Team</a>
+ * @author Nicklas Karlsson
+ */
+public class ServiceLoader<S> implements Iterable<S>
+{
+ private static final String SERVICES = "META-INF/services";
+
+ private static final Logger log = LoggerFactory.getLogger(ServiceLoader.class);
+
+ /**
+ * Creates a new service loader for the given service type, using the current
+ * thread's context class loader.
+ *
+ * An invocation of this convenience method of the form
+ *
+ * {@code ServiceLoader.load(service)</code>}
+ *
+ * is equivalent to
+ *
+ * <code>ServiceLoader.load(service,
+ * Thread.currentThread().getContextClassLoader())</code>
+ *
+ * @param service The interface or abstract class representing the service
+ * @return A new service loader
+ */
+ public static <S> ServiceLoader<S> load(Class<S> service)
+ {
+ return load(service, Thread.currentThread().getContextClassLoader());
+ }
+
+ /**
+ * Creates a new service loader for the given service type and class loader.
+ *
+ * @param service The interface or abstract class representing the service
+ * @param loader The class loader to be used to load provider-configuration
+ * files and provider classes, or null if the system class loader
+ * (or, failing that, the bootstrap class loader) is to be used
+ * @return A new service loader
+ */
+ public static <S> ServiceLoader<S> load(Class<S> service, ClassLoader loader)
+ {
+ if (loader == null)
+ {
+ loader = service.getClassLoader();
+ }
+ return new ServiceLoader<S>(service, loader);
+ }
+
+ /**
+ * Creates a new service loader for the given service type, using the
+ * extension class loader.
+ *
+ * This convenience method simply locates the extension class loader, call it
+ * extClassLoader, and then returns
+ *
+ * <code>ServiceLoader.load(service, extClassLoader)</code>
+ *
+ * If the extension class loader cannot be found then the system class loader
+ * is used; if there is no system class loader then the bootstrap class
+ * loader is used.
+ *
+ * This method is intended for use when only installed providers are desired.
+ * The resulting service will only find and load providers that have been
+ * installed into the current Java virtual machine; providers on the
+ * application's class path will be ignored.
+ *
+ * @param service The interface or abstract class representing the service
+ * @return A new service loader
+ */
+ public static <S> ServiceLoader<S> loadInstalled(Class<S> service)
+ {
+ throw new UnsupportedOperationException("Not implemented");
+ }
+
+ private final String serviceFile;
+ private Class<S> expectedType;
+ private final ClassLoader loader;
+
+ private Set<S> providers;
+
+ private ServiceLoader(Class<S> service, ClassLoader loader)
+ {
+ this.loader = loader;
+ this.serviceFile = SERVICES + "/" + service.getName();
+ this.expectedType = service;
+ }
+
+ /**
+ * Clear this loader's provider cache so that all providers will be reloaded.
+ *
+ * After invoking this method, subsequent invocations of the iterator method
+ * will lazily look up and instantiate providers from scratch, just as is
+ * done by a newly-created loader.
+ *
+ * This method is intended for use in situations in which new providers can
+ * be installed into a running Java virtual machine.
+ */
+ public void reload()
+ {
+ providers = new HashSet<S>();
+
+ for (URL serviceFile : loadServiceFiles())
+ {
+ loadServiceFile(serviceFile);
+ }
+ }
+
+ private List<URL> loadServiceFiles()
+ {
+ List<URL> serviceFiles = new ArrayList<URL>();
+ try
+ {
+ Enumeration<URL> serviceFileEnumerator = loader.getResources(serviceFile);
+ while (serviceFileEnumerator.hasMoreElements())
+ {
+ serviceFiles.add(serviceFileEnumerator.nextElement());
+ }
+ }
+ catch (IOException e)
+ {
+ throw new RuntimeException("Could not load resources from " + serviceFile, e);
+ }
+ return serviceFiles;
+ }
+
+ private void loadServiceFile(URL serviceFile)
+ {
+ InputStream is = null;
+ try
+ {
+ is = serviceFile.openStream();
+ BufferedReader reader = new BufferedReader(new InputStreamReader(is, "UTF-8"));
+ String serviceClassName = null;
+ while ((serviceClassName = reader.readLine()) != null)
+ {
+ serviceClassName = trim(serviceClassName);
+ if (serviceClassName.length() > 0)
+ {
+ loadService(serviceClassName);
+ }
+ }
+ }
+ catch (IOException e)
+ {
+ // FIXME: correct exception
+ throw new RuntimeException("Could not read services file " + serviceFile);
+ }
+ finally
+ {
+ if (is != null)
+ {
+ try
+ {
+ is.close();
+ }
+ catch (IOException e)
+ {
+ // FIXME: correct exception
+ throw new RuntimeException("Could not close services file " + serviceFile, e);
+ }
+ }
+ }
+ }
+
+ private String trim(String line)
+ {
+ final int comment = line.indexOf('#');
+
+ if (comment > -1)
+ {
+ line = line.substring(0, comment);
+ }
+ return line.trim();
+ }
+
+ private void loadService(String serviceClassName)
+ {
+ Class<? extends S> serviceClass = loadClass(serviceClassName);
+ if (serviceClass == null)
+ {
+ return;
+ }
+ S serviceInstance = prepareInstance(serviceClass);
+ if (serviceInstance == null)
+ {
+ return;
+ }
+ providers.add(serviceInstance);
+ }
+
+ private Class<? extends S> loadClass(String serviceClassName)
+ {
+ Class<?> clazz = null;
+ Class<? extends S> serviceClass = null;
+ try
+ {
+ clazz = loader.loadClass(serviceClassName);
+ serviceClass = clazz.asSubclass(expectedType);
+ }
+ catch (ClassNotFoundException e)
+ {
+ log.warn("Could not load service class " + serviceClassName);
+ }
+ catch (ClassCastException e)
+ {
+ throw new RuntimeException("Service class " + serviceClassName + " didn't implement the Extension interface");
+ }
+ return serviceClass;
+ }
+
+ private S prepareInstance(Class<? extends S> serviceClass)
+ {
+ try
+ {
+ // TODO Support the SM
+ Constructor<? extends S> constructor = serviceClass.getDeclaredConstructor();
+ constructor.setAccessible(true);
+ return constructor.newInstance();
+ }
+ catch (NoClassDefFoundError e)
+ {
+ log.warn("Could not instantiate service class " + serviceClass.getName(), e);
+ return null;
+ }
+ catch (InvocationTargetException e)
+ {
+ throw new RuntimeException("Error instantiating " + serviceClass, e.getCause());
+ }
+ catch (IllegalArgumentException e)
+ {
+ throw new RuntimeException("Error instantiating " + serviceClass, e);
+ }
+ catch (InstantiationException e)
+ {
+ throw new RuntimeException("Error instantiating " + serviceClass, e);
+ }
+ catch (IllegalAccessException e)
+ {
+ throw new RuntimeException("Error instantiating " + serviceClass, e);
+ }
+ catch (SecurityException e)
+ {
+ throw new RuntimeException("Error instantiating " + serviceClass, e);
+ }
+ catch (NoSuchMethodException e)
+ {
+ throw new RuntimeException("Error instantiating " + serviceClass, e);
+ }
+ }
+
+ /**
+ * Lazily loads the available providers of this loader's service.
+ *
+ * The iterator returned by this method first yields all of the elements of
+ * the provider cache, in instantiation order. It then lazily loads and
+ * instantiates any remaining providers, adding each one to the cache in
+ * turn.
+ *
+ * To achieve laziness the actual work of parsing the available
+ * provider-configuration files and instantiating providers must be done by
+ * the iterator itself. Its hasNext and next methods can therefore throw a
+ * ServiceConfigurationError if a provider-configuration file violates the
+ * specified format, or if it names a provider class that cannot be found and
+ * instantiated, or if the result of instantiating the class is not
+ * assignable to the service type, or if any other kind of exception or error
+ * is thrown as the next provider is located and instantiated. To write
+ * robust code it is only necessary to catch ServiceConfigurationError when
+ * using a service iterator.
+ *
+ * If such an error is thrown then subsequent invocations of the iterator
+ * will make a best effort to locate and instantiate the next available
+ * provider, but in general such recovery cannot be guaranteed.
+ *
+ * Design Note Throwing an error in these cases may seem extreme. The
+ * rationale for this behavior is that a malformed provider-configuration
+ * file, like a malformed class file, indicates a serious problem with the
+ * way the Java virtual machine is configured or is being used. As such it is
+ * preferable to throw an error rather than try to recover or, even worse,
+ * fail silently.
+ *
+ * The iterator returned by this method does not support removal. Invoking
+ * its remove method will cause an UnsupportedOperationException to be
+ * thrown.
+ *
+ * @return An iterator that lazily loads providers for this loader's service
+ */
+ public Iterator<S> iterator()
+ {
+ if (providers == null)
+ {
+ reload();
+ }
+ return providers.iterator();
+ }
+
+ /**
+ * Returns a string describing this service.
+ *
+ * @return A descriptive string
+ */
+ @Override
+ public String toString()
+ {
+ return "Services for " + serviceFile;
+ }
+}
Deleted: extensions/trunk/src/main/java/org/jboss/weld/extensions/util/service/ServiceLoaderFactory.java
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/util/service/ServiceLoaderFactory.java 2010-04-26 11:35:59 UTC (rev 6162)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/util/service/ServiceLoaderFactory.java 2010-04-26 15:11:56 UTC (rev 6163)
@@ -1,24 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, 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.util.service;
-
-public interface ServiceLoaderFactory
-{
- public <S> DefaultServiceLoader<S> load(Class<S> service);
-
- public <S> DefaultServiceLoader<S> load(Class<S> service, ClassLoader loader);
-}
Added: extensions/trunk/src/main/resources/META-INF/services/org.jboss.weld.extensions.resources.ResourceLoader
===================================================================
--- extensions/trunk/src/main/resources/META-INF/services/org.jboss.weld.extensions.resources.ResourceLoader (rev 0)
+++ extensions/trunk/src/main/resources/META-INF/services/org.jboss.weld.extensions.resources.ResourceLoader 2010-04-26 15:11:56 UTC (rev 6163)
@@ -0,0 +1 @@
+org.jboss.weld.extensions.resources.ClasspathResourceLoader
\ No newline at end of file
14 years, 8 months
Weld SVN: r6162 - /.
by weld-commits@lists.jboss.org
Author: pete.muir(a)jboss.org
Date: 2010-04-26 07:35:59 -0400 (Mon, 26 Apr 2010)
New Revision: 6162
Removed:
test/
Log:
remove test sources
14 years, 8 months
Weld SVN: r6161 - /.
by weld-commits@lists.jboss.org
Author: pete.muir(a)jboss.org
Date: 2010-04-26 07:22:07 -0400 (Mon, 26 Apr 2010)
New Revision: 6161
Removed:
wicket/
Log:
remove wicket sources
14 years, 8 months
Weld SVN: r6160 - extensions/trunk/src/main/java/org/jboss/weld/extensions/interceptor.
by weld-commits@lists.jboss.org
Author: pete.muir(a)jboss.org
Date: 2010-04-26 07:03:20 -0400 (Mon, 26 Apr 2010)
New Revision: 6160
Modified:
extensions/trunk/src/main/java/org/jboss/weld/extensions/interceptor/InterceptorExtension.java
Log:
lower accessiblity
Modified: extensions/trunk/src/main/java/org/jboss/weld/extensions/interceptor/InterceptorExtension.java
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/interceptor/InterceptorExtension.java 2010-04-26 10:41:27 UTC (rev 6159)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/interceptor/InterceptorExtension.java 2010-04-26 11:03:20 UTC (rev 6160)
@@ -14,13 +14,13 @@
private final Collection<Class<?>> enabledInterceptors;
- public InterceptorExtension()
+ InterceptorExtension()
{
this.enabledInterceptors = Collections.synchronizedSet(new HashSet<Class<?>>());
}
@SuppressWarnings("unused")
- public void observeInterceptors(@Observes ProcessBean<?> pmb)
+ void observeInterceptors(@Observes ProcessBean<?> pmb)
{
if (pmb.getBean() instanceof Interceptor<?>)
{
@@ -28,7 +28,7 @@
}
}
- public Collection<Class<?>> getEnabledInterceptors()
+ Collection<Class<?>> getEnabledInterceptors()
{
return enabledInterceptors;
}
14 years, 8 months
Weld SVN: r6158 - in extensions/trunk/src: main/java/org/jboss/weld/extensions/interceptor and 5 other directories.
by weld-commits@lists.jboss.org
Author: pete.muir(a)jboss.org
Date: 2010-04-25 18:30:01 -0400 (Sun, 25 Apr 2010)
New Revision: 6158
Added:
extensions/trunk/src/main/java/org/jboss/weld/extensions/interceptor/
extensions/trunk/src/main/java/org/jboss/weld/extensions/interceptor/InterceptorExtension.java
extensions/trunk/src/main/java/org/jboss/weld/extensions/interceptor/Interceptors.java
extensions/trunk/src/test/java/org/jboss/weld/test/extensions/interceptor/
extensions/trunk/src/test/java/org/jboss/weld/test/extensions/interceptor/BarInterceptor.java
extensions/trunk/src/test/java/org/jboss/weld/test/extensions/interceptor/Foo.java
extensions/trunk/src/test/java/org/jboss/weld/test/extensions/interceptor/FooInterceptor.java
extensions/trunk/src/test/java/org/jboss/weld/test/extensions/interceptor/InterceptorsTest.java
extensions/trunk/src/test/java/org/jboss/weld/test/extensions/interceptor/PrimaryInterceptionBinding.java
Removed:
extensions/trunk/src/test/resources/log4j.xml
Modified:
extensions/trunk/src/main/resources/META-INF/services/javax.enterprise.inject.spi.Extension
extensions/trunk/src/test/resources/META-INF/beans.xml
Log:
WELDX-91
Added: extensions/trunk/src/main/java/org/jboss/weld/extensions/interceptor/InterceptorExtension.java
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/interceptor/InterceptorExtension.java (rev 0)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/interceptor/InterceptorExtension.java 2010-04-25 22:30:01 UTC (rev 6158)
@@ -0,0 +1,36 @@
+package org.jboss.weld.extensions.interceptor;
+
+import java.util.Collection;
+import java.util.Collections;
+import java.util.HashSet;
+
+import javax.enterprise.event.Observes;
+import javax.enterprise.inject.spi.Extension;
+import javax.enterprise.inject.spi.Interceptor;
+import javax.enterprise.inject.spi.ProcessBean;
+
+public class InterceptorExtension implements Extension
+{
+
+ private final Collection<Class<?>> enabledInterceptors;
+
+ public InterceptorExtension()
+ {
+ this.enabledInterceptors = Collections.synchronizedSet(new HashSet<Class<?>>());
+ }
+
+ @SuppressWarnings("unused")
+ public void observeInterceptors(@Observes ProcessBean<?> pmb)
+ {
+ if (pmb.getBean() instanceof Interceptor<?>)
+ {
+ this.enabledInterceptors.add(pmb.getBean().getBeanClass());
+ }
+ }
+
+ public Collection<Class<?>> getEnabledInterceptors()
+ {
+ return enabledInterceptors;
+ }
+
+}
Property changes on: extensions/trunk/src/main/java/org/jboss/weld/extensions/interceptor/InterceptorExtension.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:eol-style
+ native
Added: extensions/trunk/src/main/java/org/jboss/weld/extensions/interceptor/Interceptors.java
===================================================================
--- extensions/trunk/src/main/java/org/jboss/weld/extensions/interceptor/Interceptors.java (rev 0)
+++ extensions/trunk/src/main/java/org/jboss/weld/extensions/interceptor/Interceptors.java 2010-04-25 22:30:01 UTC (rev 6158)
@@ -0,0 +1,21 @@
+package org.jboss.weld.extensions.interceptor;
+
+import javax.inject.Inject;
+
+public class Interceptors
+{
+
+ @Inject
+ private InterceptorExtension interceptorExtension;
+
+ private Interceptors()
+ {
+ // TODO Auto-generated constructor stub
+ }
+
+ public boolean isInterceptorEnabled(Class<?> clazz)
+ {
+ return interceptorExtension.getEnabledInterceptors().contains(clazz);
+ }
+
+}
Property changes on: extensions/trunk/src/main/java/org/jboss/weld/extensions/interceptor/Interceptors.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:eol-style
+ native
Modified: extensions/trunk/src/main/resources/META-INF/services/javax.enterprise.inject.spi.Extension
===================================================================
--- extensions/trunk/src/main/resources/META-INF/services/javax.enterprise.inject.spi.Extension 2010-04-25 22:05:48 UTC (rev 6157)
+++ extensions/trunk/src/main/resources/META-INF/services/javax.enterprise.inject.spi.Extension 2010-04-25 22:30:01 UTC (rev 6158)
@@ -2,4 +2,5 @@
org.jboss.weld.extensions.resources.servlet.ServletResourceExtension
org.jboss.weld.extensions.beanlookup.IdentifiableBeanExtension
org.jboss.weld.extensions.CoreExtension
-org.jboss.weld.extensions.managedproducer.ManagedProducerExtension
\ No newline at end of file
+org.jboss.weld.extensions.managedproducer.ManagedProducerExtension
+org.jboss.weld.extensions.interceptor.InterceptorExtension
\ No newline at end of file
Added: extensions/trunk/src/test/java/org/jboss/weld/test/extensions/interceptor/BarInterceptor.java
===================================================================
--- extensions/trunk/src/test/java/org/jboss/weld/test/extensions/interceptor/BarInterceptor.java (rev 0)
+++ extensions/trunk/src/test/java/org/jboss/weld/test/extensions/interceptor/BarInterceptor.java 2010-04-25 22:30:01 UTC (rev 6158)
@@ -0,0 +1,18 @@
+package org.jboss.weld.test.extensions.interceptor;
+
+import javax.interceptor.AroundInvoke;
+import javax.interceptor.Interceptor;
+import javax.interceptor.InvocationContext;
+
+@Interceptor
+@PrimaryInterceptionBinding
+public class BarInterceptor
+{
+
+ @AroundInvoke
+ public void aroundInvoke(InvocationContext ctx) throws Exception
+ {
+
+ }
+
+}
Property changes on: extensions/trunk/src/test/java/org/jboss/weld/test/extensions/interceptor/BarInterceptor.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:eol-style
+ native
Added: extensions/trunk/src/test/java/org/jboss/weld/test/extensions/interceptor/Foo.java
===================================================================
--- extensions/trunk/src/test/java/org/jboss/weld/test/extensions/interceptor/Foo.java (rev 0)
+++ extensions/trunk/src/test/java/org/jboss/weld/test/extensions/interceptor/Foo.java 2010-04-25 22:30:01 UTC (rev 6158)
@@ -0,0 +1,6 @@
+package org.jboss.weld.test.extensions.interceptor;
+
+public class Foo
+{
+
+}
Property changes on: extensions/trunk/src/test/java/org/jboss/weld/test/extensions/interceptor/Foo.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:eol-style
+ native
Added: extensions/trunk/src/test/java/org/jboss/weld/test/extensions/interceptor/FooInterceptor.java
===================================================================
--- extensions/trunk/src/test/java/org/jboss/weld/test/extensions/interceptor/FooInterceptor.java (rev 0)
+++ extensions/trunk/src/test/java/org/jboss/weld/test/extensions/interceptor/FooInterceptor.java 2010-04-25 22:30:01 UTC (rev 6158)
@@ -0,0 +1,18 @@
+package org.jboss.weld.test.extensions.interceptor;
+
+import javax.interceptor.AroundInvoke;
+import javax.interceptor.Interceptor;
+import javax.interceptor.InvocationContext;
+
+@Interceptor
+@PrimaryInterceptionBinding
+public class FooInterceptor
+{
+
+ @AroundInvoke
+ public void aroundInvoke(InvocationContext ctx) throws Exception
+ {
+
+ }
+
+}
Property changes on: extensions/trunk/src/test/java/org/jboss/weld/test/extensions/interceptor/FooInterceptor.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:eol-style
+ native
Added: extensions/trunk/src/test/java/org/jboss/weld/test/extensions/interceptor/InterceptorsTest.java
===================================================================
--- extensions/trunk/src/test/java/org/jboss/weld/test/extensions/interceptor/InterceptorsTest.java (rev 0)
+++ extensions/trunk/src/test/java/org/jboss/weld/test/extensions/interceptor/InterceptorsTest.java 2010-04-25 22:30:01 UTC (rev 6158)
@@ -0,0 +1,23 @@
+package org.jboss.weld.test.extensions.interceptor;
+
+import org.jboss.testharness.impl.packaging.Artifact;
+import org.jboss.testharness.impl.packaging.Classes;
+import org.jboss.weld.extensions.interceptor.Interceptors;
+import org.jboss.weld.test.AbstractWeldTest;
+import org.testng.annotations.Test;
+
+@Artifact
+(a)Classes(Interceptors.class)
+public class InterceptorsTest extends AbstractWeldTest
+{
+
+ @Test
+ public void testInterceptorResolvable()
+ {
+ assert getReference(Interceptors.class).isInterceptorEnabled(FooInterceptor.class);
+ // Waiting on WELD-503
+ // assert !getReference(Interceptors.class).isInterceptorEnabled(BarInterceptor.class);
+
+ }
+
+}
Property changes on: extensions/trunk/src/test/java/org/jboss/weld/test/extensions/interceptor/InterceptorsTest.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:eol-style
+ native
Added: extensions/trunk/src/test/java/org/jboss/weld/test/extensions/interceptor/PrimaryInterceptionBinding.java
===================================================================
--- extensions/trunk/src/test/java/org/jboss/weld/test/extensions/interceptor/PrimaryInterceptionBinding.java (rev 0)
+++ extensions/trunk/src/test/java/org/jboss/weld/test/extensions/interceptor/PrimaryInterceptionBinding.java 2010-04-25 22:30:01 UTC (rev 6158)
@@ -0,0 +1,34 @@
+/*
+ * 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.test.extensions.interceptor;
+
+import javax.interceptor.InterceptorBinding;
+import java.lang.annotation.*;
+import static java.lang.annotation.ElementType.*;
+import static java.lang.annotation.RetentionPolicy.*;
+
+/**
+ * @author <a href="mailto:mariusb@redhat.com">Marius Bogoevici</a>
+ */
+@InterceptorBinding
+@Documented
+@Retention(RUNTIME)
+@Target({METHOD, TYPE})
+public @interface PrimaryInterceptionBinding
+{
+}
Property changes on: extensions/trunk/src/test/java/org/jboss/weld/test/extensions/interceptor/PrimaryInterceptionBinding.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:eol-style
+ native
Modified: extensions/trunk/src/test/resources/META-INF/beans.xml
===================================================================
--- extensions/trunk/src/test/resources/META-INF/beans.xml 2010-04-25 22:05:48 UTC (rev 6157)
+++ extensions/trunk/src/test/resources/META-INF/beans.xml 2010-04-25 22:30:01 UTC (rev 6158)
@@ -1,5 +1,8 @@
-<beans xmlns="http://java.sun.com/xml/ns/javaee"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/beans_1_0.xsd">
+<beans xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/beans_1_0.xsd">
+ <interceptors>
+ <class>org.jboss.weld.test.extensions.interceptor.FooInterceptor</class>
+ </interceptors>
+
</beans>
Deleted: extensions/trunk/src/test/resources/log4j.xml
===================================================================
--- extensions/trunk/src/test/resources/log4j.xml 2010-04-25 22:05:48 UTC (rev 6157)
+++ extensions/trunk/src/test/resources/log4j.xml 2010-04-25 22:30:01 UTC (rev 6158)
@@ -1,21 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
-
-<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/" debug="false">
-
- <appender name="CONSOLE" class="org.jboss.weld.test.log.TestAppender">
- <layout class="org.apache.log4j.PatternLayout">
- <!-- The default pattern: Date Priority [Category] Message\n -->
- <param name="ConversionPattern" value="%d{ABSOLUTE} %-5p [%c{2}] %m%n"/>
- </layout>
- </appender>
-
- <category name="org.jboss.webbeans.test">
- <priority value="INFO"/>
- </category>
-
- <root>
- <priority value="INFO"/>
- <appender-ref ref="CONSOLE"/>
- </root>
-
-</log4j:configuration>
14 years, 8 months
Weld SVN: r6157 - core/trunk/impl/src/main/java/org/jboss/weld/bootstrap.
by weld-commits@lists.jboss.org
Author: pete.muir(a)jboss.org
Date: 2010-04-25 18:05:48 -0400 (Sun, 25 Apr 2010)
New Revision: 6157
Modified:
core/trunk/impl/src/main/java/org/jboss/weld/bootstrap/AbstractBeanDeployer.java
Log:
WELD-502
Modified: core/trunk/impl/src/main/java/org/jboss/weld/bootstrap/AbstractBeanDeployer.java
===================================================================
--- core/trunk/impl/src/main/java/org/jboss/weld/bootstrap/AbstractBeanDeployer.java 2010-04-25 19:44:09 UTC (rev 6156)
+++ core/trunk/impl/src/main/java/org/jboss/weld/bootstrap/AbstractBeanDeployer.java 2010-04-25 22:05:48 UTC (rev 6157)
@@ -97,12 +97,14 @@
for (DecoratorImpl<?> bean : getEnvironment().getDecorators())
{
bean.initialize(getEnvironment());
+ ProcessBeanImpl.fire(getManager(), bean);
manager.addDecorator(bean);
log.debug(FOUND_DECORATOR, bean);
}
for (InterceptorImpl<?> bean: getEnvironment().getInterceptors())
{
bean.initialize(getEnvironment());
+ ProcessBeanImpl.fire(getManager(), bean);
manager.addInterceptor(bean);
log.debug(FOUND_INTERCEPTOR, bean);
}
14 years, 8 months
Weld SVN: r6156 - extensions/trunk/src/main/resources/META-INF/services.
by weld-commits@lists.jboss.org
Author: nickarls
Date: 2010-04-25 15:44:09 -0400 (Sun, 25 Apr 2010)
New Revision: 6156
Modified:
extensions/trunk/src/main/resources/META-INF/services/org.jboss.weld.extensions.beanManager.BeanManagerProvider
Log:
rolling back weld-specific code
Modified: extensions/trunk/src/main/resources/META-INF/services/org.jboss.weld.extensions.beanManager.BeanManagerProvider
===================================================================
--- extensions/trunk/src/main/resources/META-INF/services/org.jboss.weld.extensions.beanManager.BeanManagerProvider 2010-04-25 19:11:51 UTC (rev 6155)
+++ extensions/trunk/src/main/resources/META-INF/services/org.jboss.weld.extensions.beanManager.BeanManagerProvider 2010-04-25 19:44:09 UTC (rev 6156)
@@ -1,3 +1,2 @@
org.jboss.weld.extensions.beanManager.DefaultJndiBeanManagerProvider
org.jboss.weld.extensions.beanManager.JBossJndiBeanManagerProvider
-org.jboss.weld.extensions.beanManager.WeldBeanManagerProvider
14 years, 8 months