org.apache.jetspeed.services.information
Class InformationProviderServiceImpl

java.lang.Object
  extended by org.apache.jetspeed.services.information.InformationProviderServiceImpl
All Implemented Interfaces:
org.apache.pluto.factory.Factory, org.apache.pluto.services.ContainerService, org.apache.pluto.services.information.InformationProviderService

public class InformationProviderServiceImpl
extends Object
implements org.apache.pluto.factory.Factory, org.apache.pluto.services.information.InformationProviderService

Factory class for getting Information Provider access

Version:
$Id: InformationProviderServiceImpl.java 587813 2007-10-24 08:20:39Z woonsan $
Author:
David Sean Taylor

Field Summary
private  javax.servlet.ServletConfig servletConfig
           
private  org.apache.pluto.services.information.StaticInformationProvider staticInformationProvider
           
 
Constructor Summary
InformationProviderServiceImpl(org.apache.pluto.services.information.StaticInformationProvider staticInformationProvider, javax.servlet.ServletConfig config)
           
 
Method Summary
 void destroy()
           destroy
 org.apache.pluto.services.information.DynamicInformationProvider getDynamicProvider(javax.servlet.http.HttpServletRequest request)
           
 org.apache.pluto.services.information.StaticInformationProvider getStaticProvider()
           
 void init(javax.servlet.ServletConfig config, Map properties)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

servletConfig

private javax.servlet.ServletConfig servletConfig

staticInformationProvider

private final org.apache.pluto.services.information.StaticInformationProvider staticInformationProvider
Constructor Detail

InformationProviderServiceImpl

public InformationProviderServiceImpl(org.apache.pluto.services.information.StaticInformationProvider staticInformationProvider,
                                      javax.servlet.ServletConfig config)
Method Detail

init

public void init(javax.servlet.ServletConfig config,
                 Map properties)
          throws Exception
Specified by:
init in interface org.apache.pluto.factory.Factory
Throws:
Exception

getStaticProvider

public org.apache.pluto.services.information.StaticInformationProvider getStaticProvider()
Specified by:
getStaticProvider in interface org.apache.pluto.services.information.InformationProviderService

getDynamicProvider

public org.apache.pluto.services.information.DynamicInformationProvider getDynamicProvider(javax.servlet.http.HttpServletRequest request)
Specified by:
getDynamicProvider in interface org.apache.pluto.services.information.InformationProviderService

destroy

public void destroy()
             throws Exception

destroy

Specified by:
destroy in interface org.apache.pluto.factory.Factory
Throws:
Exception
See Also:
Factory.destroy()


Copyright © 1999-2007 Apache Software Foundation. All Rights Reserved.