Author: shane.bryzak(a)jboss.com
Date: 2008-07-04 00:15:33 -0400 (Fri, 04 Jul 2008)
New Revision: 45
Added:
ri/trunk/webbeans-impl/src/main/java/org/jboss/webbeans/servlet/
ri/trunk/webbeans-impl/src/main/java/org/jboss/webbeans/servlet/WebBeansListener.java
Modified:
ri/trunk/webbeans-impl/pom.xml
Log:
added servlet api dependency
Modified: ri/trunk/webbeans-impl/pom.xml
===================================================================
--- ri/trunk/webbeans-impl/pom.xml 2008-07-04 03:27:53 UTC (rev 44)
+++ ri/trunk/webbeans-impl/pom.xml 2008-07-04 04:15:33 UTC (rev 45)
@@ -22,7 +22,13 @@
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
- </dependency>
+ </dependency>
+
+ <dependency>
+ <groupId>javax.servlet</groupId>
+ <artifactId>servlet-api</artifactId>
+ <version>2.5</version>
+ </dependency>
<dependency>
<groupId>javax.ejb</groupId>
Added:
ri/trunk/webbeans-impl/src/main/java/org/jboss/webbeans/servlet/WebBeansListener.java
===================================================================
--- ri/trunk/webbeans-impl/src/main/java/org/jboss/webbeans/servlet/WebBeansListener.java
(rev 0)
+++
ri/trunk/webbeans-impl/src/main/java/org/jboss/webbeans/servlet/WebBeansListener.java 2008-07-04
04:15:33 UTC (rev 45)
@@ -0,0 +1,36 @@
+package org.jboss.webbeans.servlet;
+
+import javax.servlet.ServletContextEvent;
+import javax.servlet.ServletContextListener;
+import javax.servlet.http.HttpSessionEvent;
+import javax.servlet.http.HttpSessionListener;
+
+/**
+ *
+ * @author Shane Bryzak
+ *
+ */
+public class WebBeansListener implements ServletContextListener, HttpSessionListener
+{
+
+ public void contextDestroyed(ServletContextEvent arg0) {
+ // TODO Auto-generated method stub
+
+ }
+
+ public void contextInitialized(ServletContextEvent arg0) {
+ // TODO Auto-generated method stub
+
+ }
+
+ public void sessionCreated(HttpSessionEvent arg0) {
+ // TODO Auto-generated method stub
+
+ }
+
+ public void sessionDestroyed(HttpSessionEvent arg0) {
+ // TODO Auto-generated method stub
+
+ }
+
+}