portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wea...@apache.org
Subject cvs commit: jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/services/information InformationProviderServiceImpl.java InformationProviderServiceService.java InformationProviderManager.java
Date Sun, 01 Aug 2004 15:48:56 GMT
weaver      2004/08/01 08:48:56

  Modified:    portal/src/java/org/apache/jetspeed/services/information
                        InformationProviderServiceImpl.java
  Removed:     portal/src/java/org/apache/jetspeed/services/information
                        InformationProviderServiceService.java
                        InformationProviderManager.java
  Log:
  InformationProviderService is now assembled in Spring.
  
  Revision  Changes    Path
  1.8       +11 -48    jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/services/information/InformationProviderServiceImpl.java
  
  Index: InformationProviderServiceImpl.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/services/information/InformationProviderServiceImpl.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- InformationProviderServiceImpl.java	8 Mar 2004 00:35:26 -0000	1.7
  +++ InformationProviderServiceImpl.java	1 Aug 2004 15:48:56 -0000	1.8
  @@ -17,10 +17,9 @@
   
   import org.apache.commons.logging.Log;
   import org.apache.commons.logging.LogFactory;
  -import org.apache.jetspeed.cps.BaseCommonService;
  -import org.apache.jetspeed.cps.CPSInitializationException;
   import org.apache.pluto.factory.Factory;
   import org.apache.pluto.services.information.DynamicInformationProvider;
  +import org.apache.pluto.services.information.InformationProviderService;
   import org.apache.pluto.services.information.StaticInformationProvider;
   
   /**
  @@ -29,7 +28,7 @@
    * @author <a href="mailto:taylor@apache.org">David Sean Taylor</a>
    * @version $Id$
    */
  -public class InformationProviderServiceImpl extends BaseCommonService implements Factory,
InformationProviderServiceService
  +public class InformationProviderServiceImpl implements Factory, InformationProviderService
   {
       private javax.servlet.ServletConfig servletConfig;
       private static final Log log = LogFactory.getLog(InformationProviderServiceImpl.class);
  @@ -39,11 +38,6 @@
           servletConfig = config;
       }
   
  -    public void destroy() throws Exception
  -    {
  -
  -    }
  -
       public StaticInformationProvider getStaticProvider()
       {
           javax.servlet.ServletContext context = servletConfig.getServletContext();
  @@ -83,47 +77,16 @@
           return provider;
       }
   
  -    //    public PortalContextProvider getPortalContextProvider()
  -    //    {
  -    //        javax.servlet.ServletContext context = servletConfig.getServletContext();
  -    //
  -    //        PortalContextProvider provider =
  -    //            (PortalContextProvider) context.getAttribute("org.apache.engine.core.PortalContextProvider");
  -    //
  -    //        if (provider == null)
  -    //        {
  -    //            provider = new PortalContextProviderImpl();
  -    //            context.setAttribute("org.apache.engine.core.PortalContextProvider",
provider);
  -    //        }
  -    //
  -    //        return provider;
  -    //    }
  -
  -    //    public PortletActionProvider getPortletActionProvider(javax.servlet.http.HttpServletRequest
request)
  -    //    {
  -    //        PortletActionProvider provider =
  -    //            (PortletActionProvider) request.getAttribute("org.apache.engine.core.PortletActionProvider");
  -    //
  -    //        if (provider == null)
  -    //        {
  -
  -    //            provider = new PortletActionProviderImpl(request, servletConfig);
  -    //            request.setAttribute("org.apache.engine.core.PortletActionProvider",
provider);
  -    //        }
  -    //
  -    //        return provider;
  -    //    }
  -
       /**
  -     * @see org.apache.fulcrum.Service#init()
  +     * <p>
  +     * destroy
  +     * </p>
  +     *
  +     * @see org.apache.pluto.factory.Factory#destroy()
  +     * @throws java.lang.Exception
        */
  -    public void init() throws CPSInitializationException
  -    {
  -        if (!isInitialized())
  -        {
  -            setInit(true);
  -        }
  +    public void destroy() throws Exception
  +    {       
   
       }
  -
   }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org


Mime
View raw message