[jboss-cvs] JBossAS SVN: r92674 - in projects/webbeans-ri-int/trunk: ejb/src/main/java/org/jboss/webbeans/integration and 2 other directories.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Fri Aug 21 11:11:35 EDT 2009


Author: pete.muir at jboss.org
Date: 2009-08-21 11:11:34 -0400 (Fri, 21 Aug 2009)
New Revision: 92674

Added:
   projects/webbeans-ri-int/trunk/ejb/src/main/java/org/jboss/webbeans/integration/jsf/
   projects/webbeans-ri-int/trunk/ejb/src/main/java/org/jboss/webbeans/integration/jsf/JBossJSFServices.java
   projects/webbeans-ri-int/trunk/ejb/src/main/java/org/jboss/webbeans/integration/servlet/
   projects/webbeans-ri-int/trunk/ejb/src/main/java/org/jboss/webbeans/integration/servlet/JBossServletServices.java
Modified:
   projects/webbeans-ri-int/trunk/deployer/src/test/java/org/jboss/test/deployers/support/MockWBBootstrap.java
Log:
Commit missing files

Modified: projects/webbeans-ri-int/trunk/deployer/src/test/java/org/jboss/test/deployers/support/MockWBBootstrap.java
===================================================================
--- projects/webbeans-ri-int/trunk/deployer/src/test/java/org/jboss/test/deployers/support/MockWBBootstrap.java	2009-08-21 15:09:34 UTC (rev 92673)
+++ projects/webbeans-ri-int/trunk/deployer/src/test/java/org/jboss/test/deployers/support/MockWBBootstrap.java	2009-08-21 15:11:34 UTC (rev 92674)
@@ -23,6 +23,7 @@
 
 import org.jboss.webbeans.bootstrap.api.Bootstrap;
 import org.jboss.webbeans.bootstrap.api.helpers.AbstractBootstrap;
+import org.jboss.webbeans.bootstrap.spi.BeanDeploymentArchive;
 import org.jboss.webbeans.manager.api.WebBeansManager;
 
 /**
@@ -59,7 +60,7 @@
       return this;
    }
 
-   public WebBeansManager getManager()
+   public WebBeansManager getManager(BeanDeploymentArchive beanDeploymentArchive)
    {
       return null;
    }

Added: projects/webbeans-ri-int/trunk/ejb/src/main/java/org/jboss/webbeans/integration/jsf/JBossJSFServices.java
===================================================================
--- projects/webbeans-ri-int/trunk/ejb/src/main/java/org/jboss/webbeans/integration/jsf/JBossJSFServices.java	                        (rev 0)
+++ projects/webbeans-ri-int/trunk/ejb/src/main/java/org/jboss/webbeans/integration/jsf/JBossJSFServices.java	2009-08-21 15:11:34 UTC (rev 92674)
@@ -0,0 +1,38 @@
+/*
+ * 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.integration.jsf;
+
+import javax.faces.application.Application;
+
+import org.jboss.webbeans.bootstrap.spi.BeanDeploymentArchive;
+import org.jboss.webbeans.persistence.spi.helpers.JSFServices;
+
+
+/**
+ * @author pmuir
+ *
+ */
+public class JBossJSFServices implements JSFServices
+{
+
+   public BeanDeploymentArchive getBeanDeploymentArchive(Application application)
+   {
+      // TODO Auto-generated method stub
+      return null;
+   }
+
+}


Property changes on: projects/webbeans-ri-int/trunk/ejb/src/main/java/org/jboss/webbeans/integration/jsf/JBossJSFServices.java
___________________________________________________________________
Name: svn:mime-type
   + text/plain

Added: projects/webbeans-ri-int/trunk/ejb/src/main/java/org/jboss/webbeans/integration/servlet/JBossServletServices.java
===================================================================
--- projects/webbeans-ri-int/trunk/ejb/src/main/java/org/jboss/webbeans/integration/servlet/JBossServletServices.java	                        (rev 0)
+++ projects/webbeans-ri-int/trunk/ejb/src/main/java/org/jboss/webbeans/integration/servlet/JBossServletServices.java	2009-08-21 15:11:34 UTC (rev 92674)
@@ -0,0 +1,45 @@
+/*
+ * 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.integration.servlet;
+
+import javax.servlet.ServletContext;
+
+import org.jboss.webbeans.bootstrap.spi.BeanDeploymentArchive;
+import org.jboss.webbeans.servlet.api.ServletServices;
+
+/**
+ * @author pmuir
+ *
+ */
+public class JBossServletServices implements ServletServices
+{
+   
+   // For now, JBoss is using a totally flat deployment structure
+   private BeanDeploymentArchive beanDeploymentArchive;
+   
+   public JBossServletServices(BeanDeploymentArchive beanDeploymentArchive)
+   {
+      this.beanDeploymentArchive = beanDeploymentArchive;
+   }
+   
+   
+   public BeanDeploymentArchive getBeanDeploymentArchive(ServletContext ctx)
+   {
+      return beanDeploymentArchive;
+   }
+
+}


Property changes on: projects/webbeans-ri-int/trunk/ejb/src/main/java/org/jboss/webbeans/integration/servlet/JBossServletServices.java
___________________________________________________________________
Name: svn:mime-type
   + text/plain




More information about the jboss-cvs-commits mailing list