[seam-commits] Seam SVN: r12616 - in sandbox/trunk/modules/envconfig: trunk and 1 other directory.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Fri Apr 23 14:14:58 EDT 2010


Author: dan.j.allen
Date: 2010-04-23 14:14:58 -0400 (Fri, 23 Apr 2010)
New Revision: 12616

Added:
   sandbox/trunk/modules/envconfig/pom.xml
   sandbox/trunk/modules/envconfig/readme.txt
   sandbox/trunk/modules/envconfig/src/
Removed:
   sandbox/trunk/modules/envconfig/branches/
   sandbox/trunk/modules/envconfig/tags/
   sandbox/trunk/modules/envconfig/trunk/pom.xml
   sandbox/trunk/modules/envconfig/trunk/readme.txt
   sandbox/trunk/modules/envconfig/trunk/src/
Log:
remove trunk, tags, branches hierarchy


Copied: sandbox/trunk/modules/envconfig/pom.xml (from rev 12615, sandbox/trunk/modules/envconfig/trunk/pom.xml)
===================================================================
--- sandbox/trunk/modules/envconfig/pom.xml	                        (rev 0)
+++ sandbox/trunk/modules/envconfig/pom.xml	2010-04-23 18:14:58 UTC (rev 12616)
@@ -0,0 +1,101 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<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>
+
+   <parent>
+      <groupId>org.jboss.seam</groupId>
+      <artifactId>seam-parent</artifactId>
+      <version>3.0.0-SNAPSHOT</version>
+   </parent>
+
+   <groupId>org.jboss.seam</groupId>
+   <artifactId>seam-envconfig</artifactId>
+   <version>3.0.0-SNAPSHOT</version>
+   <packaging>ejb</packaging>
+
+   <name>Seam Environment Configuration</name>
+   <description>A set of CDI extensions that deal with configuration of the Java EE environment (e.g., binding to JNDI)</description>
+   <inceptionYear>2009</inceptionYear>
+
+   <developers>
+      <developer>
+         <name>Matt Corey</name>
+         <url>http://smokeandice.blogspot.com</url>
+         <timezone>GMT-05:00</timezone>
+         <roles>
+         	<role>Module driver</role>
+         </roles>
+      </developer>
+      <developer>
+      	<id>dan.j.allen</id>
+      	<name>Dan Allen</name>
+      	<email>dan.j.allen at gmail.com</email>
+      	<url>http://in.relation.to/Bloggers/Dan</url>
+      	<organization>JBoss, by Red Hat</organization>
+      	<timezone>GMT-05:00</timezone>
+      	<roles>
+      		<role>Developer</role>
+      	</roles>
+      </developer>
+   </developers>
+
+   <properties>
+      <seam.version>3.0.0-SNAPSHOT</seam.version>
+   </properties>
+
+   <!-- Snapshots repo to get parent -->
+   <repositories>
+      <repository>
+         <id>oss.sonatype.org/jboss-snapshots</id>
+         <name>JBoss (Nexus) Snapshots Repository</name>
+         <url>http://oss.sonatype.org/content/repositories/jboss-snapshots</url>
+         <releases>
+            <enabled>false</enabled>
+         </releases>
+         <snapshots>
+            <enabled>true</enabled>
+            <updatePolicy>never</updatePolicy>
+         </snapshots>
+      </repository>
+   </repositories>
+
+   <dependencies>
+      <dependency>
+         <groupId>javax.enterprise</groupId>
+         <artifactId>cdi-api</artifactId>
+         <scope>provided</scope>
+      </dependency>
+      <dependency>
+         <groupId>org.jboss.ejb3</groupId>
+         <artifactId>jboss-ejb3-api</artifactId>
+         <scope>provided</scope>
+         <version>3.1.0</version>
+      </dependency>
+      <dependency>
+         <groupId>org.slf4j</groupId>
+         <artifactId>slf4j-api</artifactId>
+         <scope>provided</scope>
+      </dependency>
+   </dependencies>
+
+   <build>
+      <plugins>
+         <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-ejb-plugin</artifactId>
+            <configuration>
+               <ejbVersion>3.0</ejbVersion>
+            </configuration>
+         </plugin>
+      </plugins>
+   </build>
+
+   <scm>
+      <connection>scm:svn:http://anonsvn.jboss.org/repos/seam/modules/envconfig/trunk</connection>
+      <developerConnection>scm:svn:https://svn.jboss.org/repos/seam/modules/envconfig/trunk</developerConnection>
+      <url>http://fisheye.jboss.org/browse/Seam/modules/envconfig/trunk</url>
+   </scm>
+
+</project>

Copied: sandbox/trunk/modules/envconfig/readme.txt (from rev 12615, sandbox/trunk/modules/envconfig/trunk/readme.txt)
===================================================================
--- sandbox/trunk/modules/envconfig/readme.txt	                        (rev 0)
+++ sandbox/trunk/modules/envconfig/readme.txt	2010-04-23 18:14:58 UTC (rev 12616)
@@ -0,0 +1,40 @@
+Seam Environment Configuration
+==============================
+
+Extension type: Portable Extension (PE)
+
+Example:
+
+The following bean will cause the string "Hello World!" to
+be bound to the JNDI name java:global/msg when the archive
+that contains this bean is deployed.
+
+import org.jboss.seam.envconfig.Bind;
+import org.jboss.seam.envconfig.EnvironmentBinding;
+
+public @EnvironmentBinding class EnvironmentVars
+{
+   @Bind("msg") String msg = "Hello World!";
+}
+
+You can then inject the value into a managed bean as follows:
+
+ at Resource(lookup = "java:global/msg") String msg;
+
+You can also bind custom objects:
+
+// somewhere in the same deployment must be a producer for @Admin User
+ at Inject @Admin @Bind("adminUser") User user;
+
+Then inject the resource:
+
+ at Resource(lookup = "java:global/adminUser") User user;
+
+TODO:
+
+- Add tests (learning Arquillian first)
+- Support unbinding, either with @Unbind, or by simply handling a 'null' value for unbind
+- Support binding producer methods
+- Make 'value' optional on @Bind, using the property name for the binding if not provided (may need to qualify it with class name, possibly even module name?)
+- Implement JndiBinder as a Servlet for non-EJB containers?
+- Create web and/or REST interface to display/reprocess bindings?

Copied: sandbox/trunk/modules/envconfig/src (from rev 12615, sandbox/trunk/modules/envconfig/trunk/src)

Deleted: sandbox/trunk/modules/envconfig/trunk/pom.xml
===================================================================
--- sandbox/trunk/modules/envconfig/trunk/pom.xml	2010-04-23 18:13:36 UTC (rev 12615)
+++ sandbox/trunk/modules/envconfig/trunk/pom.xml	2010-04-23 18:14:58 UTC (rev 12616)
@@ -1,101 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<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>
-
-   <parent>
-      <groupId>org.jboss.seam</groupId>
-      <artifactId>seam-parent</artifactId>
-      <version>3.0.0-SNAPSHOT</version>
-   </parent>
-
-   <groupId>org.jboss.seam</groupId>
-   <artifactId>seam-envconfig</artifactId>
-   <version>3.0.0-SNAPSHOT</version>
-   <packaging>ejb</packaging>
-
-   <name>Seam Environment Configuration</name>
-   <description>A set of CDI extensions that deal with configuration of the Java EE environment (e.g., binding to JNDI)</description>
-   <inceptionYear>2009</inceptionYear>
-
-   <developers>
-      <developer>
-         <name>Matt Corey</name>
-         <url>http://smokeandice.blogspot.com</url>
-         <timezone>GMT-05:00</timezone>
-         <roles>
-         	<role>Module driver</role>
-         </roles>
-      </developer>
-      <developer>
-      	<id>dan.j.allen</id>
-      	<name>Dan Allen</name>
-      	<email>dan.j.allen at gmail.com</email>
-      	<url>http://in.relation.to/Bloggers/Dan</url>
-      	<organization>JBoss, by Red Hat</organization>
-      	<timezone>GMT-05:00</timezone>
-      	<roles>
-      		<role>Developer</role>
-      	</roles>
-      </developer>
-   </developers>
-
-   <properties>
-      <seam.version>3.0.0-SNAPSHOT</seam.version>
-   </properties>
-
-   <!-- Snapshots repo to get parent -->
-   <repositories>
-      <repository>
-         <id>oss.sonatype.org/jboss-snapshots</id>
-         <name>JBoss (Nexus) Snapshots Repository</name>
-         <url>http://oss.sonatype.org/content/repositories/jboss-snapshots</url>
-         <releases>
-            <enabled>false</enabled>
-         </releases>
-         <snapshots>
-            <enabled>true</enabled>
-            <updatePolicy>never</updatePolicy>
-         </snapshots>
-      </repository>
-   </repositories>
-
-   <dependencies>
-      <dependency>
-         <groupId>javax.enterprise</groupId>
-         <artifactId>cdi-api</artifactId>
-         <scope>provided</scope>
-      </dependency>
-      <dependency>
-         <groupId>org.jboss.ejb3</groupId>
-         <artifactId>jboss-ejb3-api</artifactId>
-         <scope>provided</scope>
-         <version>3.1.0</version>
-      </dependency>
-      <dependency>
-         <groupId>org.slf4j</groupId>
-         <artifactId>slf4j-api</artifactId>
-         <scope>provided</scope>
-      </dependency>
-   </dependencies>
-
-   <build>
-      <plugins>
-         <plugin>
-            <groupId>org.apache.maven.plugins</groupId>
-            <artifactId>maven-ejb-plugin</artifactId>
-            <configuration>
-               <ejbVersion>3.0</ejbVersion>
-            </configuration>
-         </plugin>
-      </plugins>
-   </build>
-
-   <scm>
-      <connection>scm:svn:http://anonsvn.jboss.org/repos/seam/modules/envconfig/trunk</connection>
-      <developerConnection>scm:svn:https://svn.jboss.org/repos/seam/modules/envconfig/trunk</developerConnection>
-      <url>http://fisheye.jboss.org/browse/Seam/modules/envconfig/trunk</url>
-   </scm>
-
-</project>

Deleted: sandbox/trunk/modules/envconfig/trunk/readme.txt
===================================================================
--- sandbox/trunk/modules/envconfig/trunk/readme.txt	2010-04-23 18:13:36 UTC (rev 12615)
+++ sandbox/trunk/modules/envconfig/trunk/readme.txt	2010-04-23 18:14:58 UTC (rev 12616)
@@ -1,40 +0,0 @@
-Seam Environment Configuration
-==============================
-
-Extension type: Portable Extension (PE)
-
-Example:
-
-The following bean will cause the string "Hello World!" to
-be bound to the JNDI name java:global/msg when the archive
-that contains this bean is deployed.
-
-import org.jboss.seam.envconfig.Bind;
-import org.jboss.seam.envconfig.EnvironmentBinding;
-
-public @EnvironmentBinding class EnvironmentVars
-{
-   @Bind("msg") String msg = "Hello World!";
-}
-
-You can then inject the value into a managed bean as follows:
-
- at Resource(lookup = "java:global/msg") String msg;
-
-You can also bind custom objects:
-
-// somewhere in the same deployment must be a producer for @Admin User
- at Inject @Admin @Bind("adminUser") User user;
-
-Then inject the resource:
-
- at Resource(lookup = "java:global/adminUser") User user;
-
-TODO:
-
-- Add tests (learning Arquillian first)
-- Support unbinding, either with @Unbind, or by simply handling a 'null' value for unbind
-- Support binding producer methods
-- Make 'value' optional on @Bind, using the property name for the binding if not provided (may need to qualify it with class name, possibly even module name?)
-- Implement JndiBinder as a Servlet for non-EJB containers?
-- Create web and/or REST interface to display/reprocess bindings?



More information about the seam-commits mailing list