From portal-commits at lists.jboss.org Tue Feb 5 10:23:28 2008 Content-Type: multipart/mixed; boundary="===============4738147560478798161==" MIME-Version: 1.0 From: portal-commits at lists.jboss.org To: portal-commits at lists.jboss.org Subject: [portal-commits] JBoss Portal SVN: r9776 - modules/portlet/trunk/test/src/main/java/org/jboss/portal/portlet/test. Date: Tue, 05 Feb 2008 10:23:27 -0500 Message-ID: --===============4738147560478798161== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: julien(a)jboss.com Date: 2008-02-05 10:23:27 -0500 (Tue, 05 Feb 2008) New Revision: 9776 Added: modules/portlet/trunk/test/src/main/java/org/jboss/portal/portlet/test/T= estPortletApplicationDeployer.java Log: I deleted that file by mistake in my previous commit Added: modules/portlet/trunk/test/src/main/java/org/jboss/portal/portlet/te= st/TestPortletApplicationDeployer.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- modules/portlet/trunk/test/src/main/java/org/jboss/portal/portlet/test/= TestPortletApplicationDeployer.java (rev 0) +++ modules/portlet/trunk/test/src/main/java/org/jboss/portal/portlet/test/= TestPortletApplicationDeployer.java 2008-02-05 15:23:27 UTC (rev 9776) @@ -0,0 +1,55 @@ +/*************************************************************************= ***** + * JBoss, a division of Red Hat = * + * Copyright 2008, Red Hat Middleware, LLC, and individual = * + * contributors as indicated by the @authors tag. See the = * + * copyright.txt in the distribution for a full listing of = * + * individual contributors. = * + * = * + * This is free software; you can redistribute it and/or modify it = * + * under the terms of the GNU Lesser General Public License as = * + * published by the Free Software Foundation; either version 2.1 of = * + * the License, or (at your option) any later version. = * + * = * + * This software is distributed in the hope that it will be useful, = * + * but WITHOUT ANY WARRANTY; without even the implied warranty of = * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU = * + * Lesser General Public License for more details. = * + * = * + * You should have received a copy of the GNU Lesser General Public = * + * License along with this software; if not, write to the Free = * + * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA = * + * 02110-1301 USA, or see the FSF site: http://www.fsf.org. = * + *************************************************************************= *****/ + +package org.jboss.portal.portlet.test; + +import org.jboss.portal.web.WebApp; + +/** + * @author Chris Laprun + * @version $Revision$ + */ +public class TestPortletApplicationDeployer extends PortletApplicationDepl= oyer +{ + /** . */ + private Object driver; + + public Object getDriver() + { + return driver; + } + + public void setDriver(Object driver) + { + this.driver =3D driver; + } + + @Override + protected void add(WebApp webApp) + { + // Set the driver for the web app + webApp.getServletContext().setAttribute("TestDriverServer", driver); + + super.add(webApp); + } +} --===============4738147560478798161==--