[webbeans-commits] Webbeans SVN: r3679 - ri/trunk/impl/src/main/java/org/jboss/webbeans/jsp.

webbeans-commits at lists.jboss.org webbeans-commits at lists.jboss.org
Wed Sep 16 12:43:25 EDT 2009


Author: pete.muir at jboss.org
Date: 2009-09-16 12:43:24 -0400 (Wed, 16 Sep 2009)
New Revision: 3679

Removed:
   ri/trunk/impl/src/main/java/org/jboss/webbeans/jsp/JspInitialization.java
Log:
cleanup

Deleted: ri/trunk/impl/src/main/java/org/jboss/webbeans/jsp/JspInitialization.java
===================================================================
--- ri/trunk/impl/src/main/java/org/jboss/webbeans/jsp/JspInitialization.java	2009-09-16 16:42:58 UTC (rev 3678)
+++ ri/trunk/impl/src/main/java/org/jboss/webbeans/jsp/JspInitialization.java	2009-09-16 16:43:24 UTC (rev 3679)
@@ -1,50 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, Red Hat Middleware LLC, 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.webbeans.jsp;
-
-import javax.servlet.ServletContext;
-import javax.servlet.jsp.JspApplicationContext;
-import javax.servlet.jsp.JspFactory;
-
-import org.jboss.webbeans.servlet.ServletHelper;
-
-/**
- * @author pmuir
- * 
- */
-public class JspInitialization
-{
-
-   public void init(ServletContext context)
-   {
-      // JSP 2.1 specific check
-      if (JspFactory.getDefaultFactory() == null || JspFactory.getDefaultFactory().getJspApplicationContext(context) == null)
-      {
-         return;
-      }
-
-      // get JspApplicationContext.
-      JspApplicationContext jspAppContext = JspFactory.getDefaultFactory().getJspApplicationContext(context);
-
-      // register compositeELResolver with JSP
-      jspAppContext.addELResolver(ServletHelper.getModuleBeanManager(context).getELResolver());
-
-      // DOesn't really achieve much :-(
-      //jspAppContext.addELContextListener(new WebBeansELContextListener());
-   }
-
-}




More information about the weld-commits mailing list