org.apache.pluto.driver.services.portal
Interface DriverConfigurationService

All Known Subinterfaces:
PropertyConfigService, RenderConfigService, SupportedModesService, SupportedWindowStateService
All Known Implementing Classes:
PropertyConfigServiceImpl, RenderConfigServiceImpl, SupportedModesServiceImpl, SupportedWindowStateServiceImpl

public interface DriverConfigurationService

Abstract interface defining lifecycle methods for Driver configuration services.

Since:
Aug 10, 2005

Method Summary
 void destroy()
          Destroy the service, notifying it of shutdown.
 void init(javax.servlet.ServletContext ctx)
          Initialize the service for use by the driver.
 

Method Detail

init

void init(javax.servlet.ServletContext ctx)
          throws DriverConfigurationException
Initialize the service for use by the driver. This method allows the service to retrieve required resources from the context and instantiate any required services.

Parameters:
ctx - the Portal's servlet context in which the service will be executing.
Throws:
DriverConfigurationException

destroy

void destroy()
             throws DriverConfigurationException
Destroy the service, notifying it of shutdown.

Throws:
DriverConfigurationException


Copyright © 2003-2009 Apache Software Foundation. All Rights Reserved.