Permalink
Browse files

rename to Seam Solder

  • Loading branch information...
mojavelinux committed Nov 24, 2010
1 parent 015b6b1 commit 2a731b3e834b75e8e571e0339687a2d5e7afc098
Showing 371 changed files with 845 additions and 855 deletions.
View
6 README
@@ -1,4 +1,4 @@
-Weld Extensions
-===============
+Seam Solder
+===========
-Source for Weld Extensions. For more, see http://seamframework.org/Weld
+Source for Seam Solder. For more, see http://seamframework.org/Seam3/Solder
View
@@ -2,20 +2,20 @@
<modelVersion>4.0.0</modelVersion>
<parent>
- <groupId>org.jboss.weld</groupId>
- <artifactId>weld-extensions-parent</artifactId>
+ <groupId>org.jboss.seam.solder</groupId>
+ <artifactId>seam-solder-parent</artifactId>
<version>1.0.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
- <groupId>org.jboss.weld</groupId>
- <artifactId>weld-extensions-reference-guide</artifactId>
+ <groupId>org.jboss.seam.solder</groupId>
+ <artifactId>seam-solder-reference-guide</artifactId>
<version>1.0.0-SNAPSHOT</version>
<packaging>jdocbook</packaging>
- <name>Weld Extensions Reference Guide</name>
+ <name>Seam Solder Reference Guide</name>
<properties>
- <pdf.name>weld-extensions-reference.pdf</pdf.name>
+ <pdf.name>seam-solder-reference.pdf</pdf.name>
<weld.docbook.version>1.1.1-Beta5</weld.docbook.version>
</properties>
@@ -5,9 +5,9 @@
<title>Annotation Literals</title>
<para>
- Weld extensions provides a complete set of <code>AnnotationLiteral</code>s for every annotation type
+ Seam Solder provides a complete set of <code>AnnotationLiteral</code>s for every annotation type
defined by the CDI (JSR-299) and Injection (JSR-330) specification. These are located in the
- <code>org.jboss.weld.extensions.literal</code> package. Annotations without listitems provide a static
+ <code>org.jboss.seam.solder.literal</code> package. Annotations without listitems provide a static
<code>INSTANCE</code> listitem that should be used rather than creating a new instance every time.
</para>
@@ -41,7 +41,7 @@
</itemizedlist>
<para>
- Literals are provided for the following annotations from <emphasis>Weld Extensions</emphasis>:
+ Literals are provided for the following annotations from <emphasis>Seam Solder</emphasis>:
</para>
<itemizedlist>
@@ -21,7 +21,7 @@
<para>
On some occasions however there is no suitable context to use, and in this case, you can take advantage of the
- abstraction over <code>BeanManager</code> lookup provided by Weld Extensions. To lookup up a
+ abstraction over <code>BeanManager</code> lookup provided by Seam Solder. To lookup up a
<code>BeanManager</code>, you can extend the <code>BeanManagerAware</code> class, and call
<code>getBeanManager</code>:
</para>
@@ -5,7 +5,7 @@
<title>Bean Utilities</title>
<para>
- Weld Extensions provides a number of base classes which can be extended to create custom beans. Weld Extensions
+ Seam Solder provides a number of base classes which can be extended to create custom beans. Seam Solder
also provides bean builders which can be used to dynamically create beans using a fluent API.
</para>
@@ -23,7 +23,7 @@
</para>
<para>
- Let's take a real world example - a module that allows you to evaluate EL (something that Weld Extensions
+ Let's take a real world example - a module that allows you to evaluate EL (something that Seam Solder
provides!). If JSF is available we want to use the <code>FunctionMapper</code> provided by the JSF implementation
to resolve functions, otherwise we just want to use a a default <code>FunctionMapper</code> implementation that
does nothing. We can achieve this as follows:
@@ -5,9 +5,9 @@
<title>Evaluating Unified EL</title>
<para>
- Weld extensions provides a method to evaluate EL that is not dependent on JSF or JSP, a facility sadly missing in
+ Seam Solder provides a method to evaluate EL that is not dependent on JSF or JSP, a facility sadly missing in
Java EE. To use it inject <code>Expressions</code> into your bean. You can evaluate value expressions, or method
- expressions. The Weld Extensions API provides type inference for you. For example:
+ expressions. The Seam Solder API provides type inference for you. For example:
</para>
<programlisting role="JAVA">class FruitBowl {
@@ -83,7 +83,7 @@
<para>
The durable queue is defined as a producer method (as we want to alter the configuration of the queue before
- having Weld Extensions use it). Additionally, it specifies that the generic beans created (that allow for
+ having Seam Solder use it). Additionally, it specifies that the generic beans created (that allow for
their scope to be overridden) should be placed in the conversation scope. Finally, it specifies that the
generic beans created should inherit the qualifier <code>@Durable</code>.
</para>
@@ -5,13 +5,13 @@
<title>Getting Started</title>
<para>
- Getting started with Weld Extensions is easy. If you are using Maven, then you can declare a dependency on Weld
- Extensions (<code>org.jboss.weld:weld-extensions:${weld.extensions.version}</code>, make sure you have the JBoss
+ Getting started with Seam Solder is easy. If you are using Maven, then you can declare a dependency on Seam
+ Seam (<code>org.jboss.seam.solder:seam-solder:${seam.solder.version}</code>, make sure you have the JBoss
Maven repository enabled). Otherwise, add the jar to your compile time and runtime classpath.
</para>
<para>
- Most of Weld Extensions has very few dependencies:
+ Most of Seam Solder has very few dependencies:
</para>
<itemizedlist>
@@ -37,22 +37,22 @@
<tip>
<para>
- The POM for Weld Extensions specifies the versions required. If you are using Maven 3, you can easily import
+ The POM for Seam Solder specifies the versions required. If you are using Maven 3, you can easily import
the <code>dependencyManagement</code> into your POM by declaring the following in your
<code>depdendencyManagement</code> section:
</para>
<programlisting role="XML"><![CDATA[ <dependency>
- <groupId>org.jboss.weld</groupId>
- <artifactId>weld-extensions</artifactId>
- <version>${weld.extensions.version}</version>
+ <groupId>org.jboss.seam.solder</groupId>
+ <artifactId>seam-solder</artifactId>
+ <version>${seam.solder.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>]]></programlisting>
</tip>
<para>
- Some features of Weld Extensions require additional dependencies (which are declared optional, so will not be
+ Some features of Seam Solder require additional dependencies (which are declared optional, so will not be
added as transitive dependencies):
</para>
@@ -5,7 +5,7 @@
<title>Logging</title>
<para>
- Weld Extensions integrates JBoss Logging 3 as it's logging framework of choice. JBoss Logging 3 is a modern
+ Seam Solder integrates JBoss Logging 3 as it's logging framework of choice. JBoss Logging 3 is a modern
logging framework offering:
</para>
@@ -112,7 +112,7 @@ interface TrainSpotterLog {
</para>
<para>
- Sometimes you need to access the message directly (for example to localize an exception message). Weld Extensions
+ Sometimes you need to access the message directly (for example to localize an exception message). Seam Solder
let's you inject a typed message bundle. First, declare the message bundle:
</para>
@@ -3,13 +3,13 @@
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ ]>
<book lang="en">
- <title>Weld Extensions</title>
+ <title>Seam Solder</title>
<preface>
<title>Introduction</title>
<para>
- Weld Extensions is a library of Generally Useful Stuff (tm), particularly if you are
+ Seam Solder is a library of Generally Useful Stuff (tm), particularly if you are
developing an application based on CDI (JSR-299 Java Contexts and Dependency Injection),
or a CDI based library or framework.
</para>
@@ -5,7 +5,7 @@
<title>Enhancements to the CDI Programming Model</title>
<para>
- Weld Extensions provides a number enhancements to the CDI programming model which are under trial and may be
+ Seam Solder provides a number enhancements to the CDI programming model which are under trial and may be
included in later releases of <emphasis>Contexts and Dependency Injection</emphasis>.
</para>
@@ -71,16 +71,16 @@ class Utilities {
<tip>
<para>
- Weld will use the Thread Context ClassLoader, as well as the classloader of the type annotated
+ Seam Solder will use the Thread Context ClassLoader, as well as the classloader of the type annotated
<code>@Requires</code> to attempt to satisfy the class dependency.
- </para>
+ </para>
</tip>
<para>
For example:
</para>
- <programlisting role="JAVA">@Requires(EntityManager.class)
+ <programlisting role="JAVA">@Requires("javax.persistence.EntityManager")
class EntityManagerProducer {
@Produces
@@ -135,7 +135,7 @@ class EntityManagerProducer {
<para>
It is common to want to qualify a bean as belonging to the current client (for example we want to differentiate
- the default system locale from the current client's locale). Weld Extensions provides a built in qualifier,
+ the default system locale from the current client's locale). Seam Solder provides a built in qualifier,
<code>@Client</code> for this purpose.
</para>
@@ -145,7 +145,7 @@ class EntityManagerProducer {
<title>Named packages</title>
<para>
- Weld Extensions allows you to annotate the package <code>@Named</code>, which causes every bean defined in the
+ Seam Solder allows you to annotate the package <code>@Named</code>, which causes every bean defined in the
package to be given its default name. Package annotations are defined in the file
<code>package-info.java</code>. For example, to cause any beans defined in <code>com.acme</code> to be given
their default name:
@@ -202,7 +202,7 @@
<title>Property Criteria</title>
<para>
- Once you have created the <code>PropertyQuery</code> instance, you can add search criteria. Weld Extensions
+ Once you have created the <code>PropertyQuery</code> instance, you can add search criteria. Seam Solder
provides three built-in criteria types, and it is very easy to add your own. A criteria is added to a query via the
<code>addCriteria()</code> method. This method returns an instance of the <code>PropertyQuery</code>,
so multiple <code>addCriteria()</code> invocations can be stacked.
@@ -284,7 +284,7 @@
<para>
To create your own property criteria, simply implement the
- <code>org.jboss.weld.extensions.util.properties.query.PropertyCriteria</code> interface, which declares the
+ <code>org.jboss.seam.solder.util.properties.query.PropertyCriteria</code> interface, which declares the
two methods <code>fieldMatches()</code> and <code>methodMatches</code>. In the following example, our
custom criteria implementation can be used to locate whole number properties:
</para>
@@ -5,7 +5,7 @@
<title>Resource Loading</title>
<para>
- Weld Extensions provides an extensible, injectable resource loader. The resource loader can provide URLs or
+ Seam Solder provides an extensible, injectable resource loader. The resource loader can provide URLs or
managed input streams. By default the resource loader will look at the classpath, and the servlet context if
available.
</para>
@@ -76,7 +76,7 @@
<para>
And then register it as a service by placing the fully qualified class name of the implementation in a file
- called <code>META-INF/services/org.jboss.weld.extensions.resourceLoader.ResourceLoader</code>.
+ called <code>META-INF/services/org.jboss.seam.solder.resourceLoader.ResourceLoader</code>.
</para>
</section>
@@ -5,7 +5,7 @@
<title>Annotation and AnnotatedType Utilities</title>
<para>
- Weld Extensions provides a number of utilility classes to make working with Annotations and AnnotatedTypes easier.
+ Seam Solder provides a number of utilility classes to make working with Annotations and AnnotatedTypes easier.
This chapter will walk you each utility, and give you an idea of how to use it. For more detail, take a look at
the javaodoc on each class.
</para>
@@ -14,7 +14,7 @@
<title>Annotated Type Builder</title>
<para>
- Weld Extensions provides an <code>AnnotatedType</code> implementation that should be suitable for most
+ Seam Solder provides an <code>AnnotatedType</code> implementation that should be suitable for most
portable extensions needs. The <code>AnnotatedType</code> is created from
<code>AnnotatedTypeBuilder</code> as follows:
</para>
@@ -53,7 +53,7 @@
<title>Annotation Instance Provider</title>
<para>
Sometimes you may need an annotation instance for an annotation whose type is not known at development time.
- Weld Extensions provides a <code>AnnotationInstanceProvider</code> class that can create an
+ Seam Solder provides a <code>AnnotationInstanceProvider</code> class that can create an
<code>AnnotationLiteral</code> instance for any annotation at runtime. Annotation attributes
are passed in via a <code>Map&lt;String,Object&gt;</code>. For example given the follow annotation:
</para>
@@ -127,7 +127,7 @@ public @interface MultipleMembers {
<para>
When developing an extension to CDI, it can be useful to detect certain injection points, or bean definitions
and based on annotations or other metadata, add qualifiers to further disambiguate the injection point or bean
- definition for the CDI bean resolver. Weld Extension's synthetic qualifers can be used to easily generate and
+ definition for the CDI bean resolver. Seam Solder's synthetic qualifers can be used to easily generate and
track such qualifers.
</para>
@@ -154,7 +154,7 @@ public @interface MultipleMembers {
<title>Reflection Utilities</title>
<para>
- Weld Extensions comes with a number miscellaneous reflection utilities; these extend JDK reflection, and some
+ Seam Solder comes with a number miscellaneous reflection utilities; these extend JDK reflection, and some
also work on CDI's Annotated metadata. See the javadoc on <code>Reflections</code> for more.
</para>
@@ -20,9 +20,9 @@
<important>
<para>
- Weld Extensions implements this by injecting a proxy rather than the original object. Every invocation on the
+ Seam Solder implements this by injecting a proxy rather than the original object. Every invocation on the
injected proxy will cause the unwrapping producer method to be invoked to obtain the instance on which to
- invoke the method called. Weld Extensions will then invoke the method on unwrapped instance.
+ invoke the method called. Seam Solder will then invoke the method on unwrapped instance.
</para>
<para>
View
@@ -1,19 +1,19 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
- <groupId>org.jboss.weld</groupId>
- <artifactId>weld-extensions</artifactId>
+ <groupId>org.jboss.seam.solder</groupId>
+ <artifactId>seam-solder</artifactId>
<packaging>jar</packaging>
<version>1.0.0-SNAPSHOT</version>
<parent>
- <groupId>org.jboss.weld</groupId>
- <artifactId>weld-extensions-parent</artifactId>
+ <groupId>org.jboss.seam.solder</groupId>
+ <artifactId>seam-solder-parent</artifactId>
<version>1.0.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
- <name>Weld Extensions</name>
- <url>http://www.seamframework.org/Weld</url>
+ <name>Seam Solder</name>
+ <url>http://seamframework.org/Seam3/Solder</url>
<description>Portable extensions for CDI</description>
@@ -30,9 +30,7 @@
</license>
</licenses>
-
<developers>
-
<developer>
<name>Pete Muir</name>
<email>pete.muir@jboss.org</email>
@@ -43,7 +41,6 @@
<developer>
<name>Stuart Douglas</name>
</developer>
-
</developers>
<inceptionYear>2008</inceptionYear>
@@ -279,10 +276,4 @@
</profile>
</profiles>
- <scm>
- <connection>scm:svn:http://anonsvn.jboss.org/repos/weld/extensions/trunk/</connection>
- <developerConnection>scm:svn:https://svn.jboss.org/repos/weld/extensions/trunk</developerConnection>
- <url>http://fisheye.jboss.org/browse/weld/extensions/trunk</url>
- </scm>
-
</project>
@@ -1,4 +1,4 @@
-package org.jboss.weld.extensions.bean;
+package org.jboss.seam.solder.bean;
import java.lang.annotation.Annotation;
import java.lang.reflect.Type;
@@ -12,8 +12,8 @@
import javax.enterprise.inject.spi.Bean;
import javax.enterprise.inject.spi.InjectionPoint;
-import org.jboss.weld.extensions.literal.DefaultLiteral;
-import org.jboss.weld.extensions.util.collections.Arrays2;
+import org.jboss.seam.solder.literal.DefaultLiteral;
+import org.jboss.seam.solder.util.collections.Arrays2;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
Oops, something went wrong.

0 comments on commit 2a731b3

Please sign in to comment.