From portal-commits at lists.jboss.org Mon Nov 12 17:40:53 2007 Content-Type: multipart/mixed; boundary="===============7849960945988236807==" MIME-Version: 1.0 From: portal-commits at lists.jboss.org To: portal-commits at lists.jboss.org Subject: [portal-commits] JBoss Portal SVN: r8891 - in branches/UIServer: core/src/resources/portal-core-sar/META-INF and 2 other directories. Date: Mon, 12 Nov 2007 17:40:53 -0500 Message-ID: --===============7849960945988236807== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: sohil.shah(a)jboss.com Date: 2007-11-12 17:40:53 -0500 (Mon, 12 Nov 2007) New Revision: 8891 Added: branches/UIServer/core/src/main/org/jboss/portal/core/presentation/serve= r/PresentationServerImpl.java Removed: branches/UIServer/uiserver/src/main/org/jboss/portal/presentation/server= /PresentationServerImpl.java Modified: branches/UIServer/core/src/resources/portal-core-sar/META-INF/jboss-serv= ice.xml branches/UIServer/uiserver/src/resources/portal-uiserver.sar/META-INF/jb= oss-service.xml Log: refactoring Added: branches/UIServer/core/src/main/org/jboss/portal/core/presentation/s= erver/PresentationServerImpl.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 --- branches/UIServer/core/src/main/org/jboss/portal/core/presentation/serv= er/PresentationServerImpl.java (rev 0) +++ branches/UIServer/core/src/main/org/jboss/portal/core/presentation/serv= er/PresentationServerImpl.java 2007-11-12 22:40:53 UTC (rev 8891) @@ -0,0 +1,98 @@ +/*************************************************************************= ***** + * JBoss, a division of Red Hat = * + * Copyright 2006, 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.core.presentation.server; + +import org.jboss.portal.presentation.server.Processor; +import org.jboss.portal.presentation.server.PortalObjectReader; +import org.jboss.portal.presentation.server.PresentationServer; + +/** + * @author Sohil Shah + * + */ +public class PresentationServerImpl implements PresentationServer +{ + private Processor processor =3D null; + private PortalObjectReader portalObjectReader =3D null; + = + /** + * = + * + */ + public PresentationServerImpl() + { + = + } + = + /** + * = + * + */ + public void start() + { + = + } + = + /** + * = + * + */ + public void stop() + { + = + } + = + /** + * = + */ + public PortalObjectReader getPortalObjectReader() + { + return this.portalObjectReader; + } + = + /** + * = + * @param portalObjectReader + */ + public void setPortalObjectReader(PortalObjectReader portalObjectReader) + { + this.portalObjectReader =3D portalObjectReader; + } + + /** + * = + */ + public Processor getProcessor() + { + return this.processor; + } + = + /** + * = + * @param processor + */ + public void setProcessor(Processor processor) + { + this.processor =3D processor; + } +} Modified: branches/UIServer/core/src/resources/portal-core-sar/META-INF/jbo= ss-service.xml =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 --- branches/UIServer/core/src/resources/portal-core-sar/META-INF/jboss-ser= vice.xml 2007-11-12 22:33:29 UTC (rev 8890) +++ branches/UIServer/core/src/resources/portal-core-sar/META-INF/jboss-ser= vice.xml 2007-11-12 22:40:53 UTC (rev 8891) @@ -1092,6 +1092,25 @@ proxy-type=3D"attribute">portal:service=3DControlPolicy,type=3DPa= ge + + portal:container=3DPortalObjectReader + portal:service=3DProcessor + portal:service=3DPageService + portal:commandFactory=3DDefaultPortal + portal:urlFactory=3DDelegating + portal:service=3DInterceptorStackFactory,type=3DCommand = + portal:container=3DInstance + portal:service=3DPortalAuthorizationManagerFactory + portal:service=3DCustomizationManager + portal:service=3DContentProviderRegistry + portal:service=3DResponseHandler,type=3DSelector + portal:service=3DControlPolicy,type=3DPage + + Sohil Shah - * - */ -public class PresentationServerImpl implements PresentationServer -{ - private Processor processor =3D null; - private PortalObjectReader portalObjectReader =3D null; - = - /** - * = - * - */ - public PresentationServerImpl() - { - = - } - = - /** - * = - * - */ - public void start() - { - = - } - = - /** - * = - * - */ - public void stop() - { - = - } - = - /** - * = - */ - public PortalObjectReader getPortalObjectReader() - { - return this.portalObjectReader; - } - = - /** - * = - * @param portalObjectReader - */ - public void setPortalObjectReader(PortalObjectReader portalObjectReader) - { - this.portalObjectReader =3D portalObjectReader; - } - - /** - * = - */ - public Processor getProcessor() - { - return this.processor; - } - = - /** - * = - * @param processor - */ - public void setProcessor(Processor processor) - { - this.processor =3D processor; - } -} Modified: branches/UIServer/uiserver/src/resources/portal-uiserver.sar/META= -INF/jboss-service.xml =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 --- branches/UIServer/uiserver/src/resources/portal-uiserver.sar/META-INF/j= boss-service.xml 2007-11-12 22:33:29 UTC (rev 8890) +++ branches/UIServer/uiserver/src/resources/portal-uiserver.sar/META-INF/j= boss-service.xml 2007-11-12 22:40:53 UTC (rev 8891) @@ -32,25 +32,6 @@ portal:service=3DPresentationServer = - - portal:container=3DPortalObjectReader - portal:service=3DProcessor - portal:service=3DPageService - portal:commandFactory=3DDefaultPortal - portal:urlFactory=3DDelegating - portal:service=3DInterceptorStackFactory,type=3DCommand = - portal:container=3DInstance - portal:service=3DPortalAuthorizationManagerFactory - portal:service=3DCustomizationManager - portal:service=3DContentProviderRegistry - portal:service=3DResponseHandler,type=3DSelector - portal:service=3DControlPolicy,type=3DPage - -