Author: pete.muir(a)jboss.org
Date: 2009-04-20 08:12:42 -0400 (Mon, 20 Apr 2009)
New Revision: 2586
Added:
extensions/tags/webbeans-se-1.0.0.BETA1/
extensions/tags/webbeans-se-1.0.0.BETA1/pom.xml
extensions/tags/webbeans-se-1.0.0.BETA1/src/main/java/org/jboss/webbeans/environment/se/ShutdownManager.java
Removed:
extensions/tags/webbeans-se-1.0.0.BETA1/pom.xml
extensions/tags/webbeans-se-1.0.0.BETA1/src/main/java/org/jboss/webbeans/environment/se/ShutdownManager.java
Log:
[maven-release-plugin] copy for tag webbeans-se-1.0.0.BETA1
Copied: extensions/tags/webbeans-se-1.0.0.BETA1 (from rev 2513, extensions/trunk/se)
Deleted: extensions/tags/webbeans-se-1.0.0.BETA1/pom.xml
===================================================================
--- extensions/trunk/se/pom.xml 2009-04-19 09:55:50 UTC (rev 2513)
+++ extensions/tags/webbeans-se-1.0.0.BETA1/pom.xml 2009-04-20 12:12:42 UTC (rev 2586)
@@ -1,68 +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">
- <parent>
- <artifactId>webbeans-parent</artifactId>
- <groupId>org.jboss.webbeans</groupId>
- <version>1.0.0-SNAPSHOT</version>
- </parent>
- <modelVersion>4.0.0</modelVersion>
- <groupId>org.jboss.webbeans</groupId>
- <artifactId>se-module</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- <packaging>jar</packaging>
- <name>Web Beans SE Module</name>
- <url>http://maven.apache.org</url>
- <build>
- <plugins>
- <plugin>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>2.0.2</version>
- <configuration>
- <source>1.5</source>
- <target>1.5</target>
- </configuration>
- </plugin>
- </plugins>
- </build>
-
- <dependencies>
- <dependency>
- <groupId>org.testng</groupId>
- <artifactId>testng</artifactId>
- <scope>test</scope>
- <classifier>jdk15</classifier>
- <exclusions>
- <exclusion>
- <artifactId>junit</artifactId>
- <groupId>junit</groupId>
- </exclusion>
- </exclusions>
- </dependency>
-
- <dependency>
- <groupId>org.jboss.webbeans</groupId>
- <artifactId>webbeans-spi</artifactId>
- </dependency>
- <!-- TODO (PR): remove this dependency -->
- <dependency>
- <groupId>org.jboss.webbeans</groupId>
- <artifactId>webbeans-core</artifactId>
- <exclusions>
- <exclusion>
- <groupId>javax.el</groupId>
- <artifactId>el-api</artifactId>
- </exclusion>
- <exclusion>
- <groupId>javax.faces</groupId>
- <artifactId>jsf-api</artifactId>
- </exclusion>
- <exclusion>
- <groupId>javax.servlet</groupId>
- <artifactId>servlet-api</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
-
- </dependencies>
-
-</project>
Copied: extensions/tags/webbeans-se-1.0.0.BETA1/pom.xml (from rev 2585,
extensions/trunk/se/pom.xml)
===================================================================
--- extensions/tags/webbeans-se-1.0.0.BETA1/pom.xml (rev 0)
+++ extensions/tags/webbeans-se-1.0.0.BETA1/pom.xml 2009-04-20 12:12:42 UTC (rev 2586)
@@ -0,0 +1,82 @@
+<?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">
+ <parent>
+ <artifactId>webbeans-parent</artifactId>
+ <groupId>org.jboss.webbeans</groupId>
+ <version>1.0.0.PREVIEW1</version>
+ </parent>
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.jboss.webbeans</groupId>
+ <artifactId>webbeans-se</artifactId>
+ <version>1.0.0.BETA1</version>
+ <packaging>jar</packaging>
+ <name>Web Beans SE Module</name>
+ <url>http://maven.apache.org</url>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <version>2.0.2</version>
+ <configuration>
+ <source>1.5</source>
+ <target>1.5</target>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-release-plugin</artifactId>
+ <configuration>
+ <
tagBase>https://svn.jboss.org/repos/webbeans/extensions/tags</tagBa...
+ <autoVersionSubmodules>true</autoVersionSubmodules>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.testng</groupId>
+ <artifactId>testng</artifactId>
+ <scope>test</scope>
+ <classifier>jdk15</classifier>
+ <exclusions>
+ <exclusion>
+ <artifactId>junit</artifactId>
+ <groupId>junit</groupId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+
+ <dependency>
+ <groupId>org.jboss.webbeans</groupId>
+ <artifactId>webbeans-spi</artifactId>
+ </dependency>
+ <!-- TODO (PR): remove this dependency -->
+ <dependency>
+ <groupId>org.jboss.webbeans</groupId>
+ <artifactId>webbeans-core</artifactId>
+ <exclusions>
+ <exclusion>
+ <groupId>javax.el</groupId>
+ <artifactId>el-api</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>javax.faces</groupId>
+ <artifactId>jsf-api</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>javax.servlet</groupId>
+ <artifactId>servlet-api</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+
+ </dependencies>
+
+ <scm>
+
<
connection>scm:svn:http://anonsvn.jboss.org/repos/webbeans/extensions/...
+
<
developerConnection>scm:svn:https://svn.jboss.org/repos/webbeans/exten...
+
<
url>http://fisheye.jboss.org/browse/WebBeans/extensions/webbeans-se-1....
+ </scm>
+
+</project>
Deleted:
extensions/tags/webbeans-se-1.0.0.BETA1/src/main/java/org/jboss/webbeans/environment/se/ShutdownManager.java
===================================================================
---
extensions/trunk/se/src/main/java/org/jboss/webbeans/environment/se/ShutdownManager.java 2009-04-19
09:55:50 UTC (rev 2513)
+++
extensions/tags/webbeans-se-1.0.0.BETA1/src/main/java/org/jboss/webbeans/environment/se/ShutdownManager.java 2009-04-20
12:12:42 UTC (rev 2586)
@@ -1,53 +0,0 @@
-package org.jboss.webbeans.environment.se;
-
-import javax.context.ApplicationScoped;
-import javax.event.Observes;
-import javax.inject.manager.Manager;
-
-import org.jboss.webbeans.bootstrap.api.Bootstrap;
-import org.jboss.webbeans.context.DependentContext;
-import org.jboss.webbeans.environment.se.events.Shutdown;
-import org.jboss.webbeans.log.LogProvider;
-import org.jboss.webbeans.log.Logging;
-
-@ApplicationScoped
-public class ShutdownManager
-{
-
- private static LogProvider log = Logging.getLogProvider(ShutdownManager.class);
-
- private boolean hasShutdownBeenCalled = false;
-
- private Bootstrap bootstrap;
-
- /**
- * The observer of the optional shutdown request which will in turn fire the
- * Shutdown event.
- *
- * @param shutdownRequest
- */
- public void shutdown(@Observes @Shutdown Manager shutdownRequest)
- {
- synchronized (this)
- {
-
- if (!hasShutdownBeenCalled)
- {
- hasShutdownBeenCalled = true;
- bootstrap.shutdown();
- DependentContext.instance().setActive(false);
- }
- else
- {
- log.debug("Skipping spurious call to shutdown");
- log.trace(Thread.currentThread().getStackTrace());
- }
- }
- }
-
- public void setBootstrap(Bootstrap bootstrap)
- {
- this.bootstrap = bootstrap;
- }
-
-}
Copied:
extensions/tags/webbeans-se-1.0.0.BETA1/src/main/java/org/jboss/webbeans/environment/se/ShutdownManager.java
(from rev 2521,
extensions/trunk/se/src/main/java/org/jboss/webbeans/environment/se/ShutdownManager.java)
===================================================================
---
extensions/tags/webbeans-se-1.0.0.BETA1/src/main/java/org/jboss/webbeans/environment/se/ShutdownManager.java
(rev 0)
+++
extensions/tags/webbeans-se-1.0.0.BETA1/src/main/java/org/jboss/webbeans/environment/se/ShutdownManager.java 2009-04-20
12:12:42 UTC (rev 2586)
@@ -0,0 +1,51 @@
+package org.jboss.webbeans.environment.se;
+
+import javax.context.ApplicationScoped;
+import javax.event.Observes;
+import javax.inject.manager.Manager;
+
+import org.jboss.webbeans.bootstrap.api.Bootstrap;
+import org.jboss.webbeans.environment.se.events.Shutdown;
+import org.jboss.webbeans.log.LogProvider;
+import org.jboss.webbeans.log.Logging;
+
+@ApplicationScoped
+public class ShutdownManager
+{
+
+ private static LogProvider log = Logging.getLogProvider(ShutdownManager.class);
+
+ private boolean hasShutdownBeenCalled = false;
+
+ private Bootstrap bootstrap;
+
+ /**
+ * The observer of the optional shutdown request which will in turn fire the
+ * Shutdown event.
+ *
+ * @param shutdownRequest
+ */
+ public void shutdown(@Observes @Shutdown Manager shutdownRequest)
+ {
+ synchronized (this)
+ {
+
+ if (!hasShutdownBeenCalled)
+ {
+ hasShutdownBeenCalled = true;
+ bootstrap.shutdown();
+ }
+ else
+ {
+ log.debug("Skipping spurious call to shutdown");
+ log.trace(Thread.currentThread().getStackTrace());
+ }
+ }
+ }
+
+ public void setBootstrap(Bootstrap bootstrap)
+ {
+ this.bootstrap = bootstrap;
+ }
+
+}