org.apache.pluto.portalImpl.services.config
Class ConfigServiceImpl

java.lang.Object
  extended byorg.apache.pluto.portalImpl.services.Service
      extended byorg.apache.pluto.portalImpl.services.config.ConfigService
          extended byorg.apache.pluto.portalImpl.services.config.ConfigServiceImpl

public class ConfigServiceImpl
extends ConfigService

The implementation of the ConfigService.

To establish the configuration parameters, this implementation first looks in the servlet configuration, then the servlet context, and lastly its own configuration file.


Constructor Summary
ConfigServiceImpl()
           
 
Method Summary
 void destroy()
          Destroys the services.
 Parameters getParameters()
          Returns the configuration parameters managed by this service.
 void init(javax.servlet.ServletConfig aConfig, Properties aProperties)
          Initializes the service using the servlet configuration and the service properties.
 
Methods inherited from class org.apache.pluto.portalImpl.services.config.ConfigService
getBoolean, getBoolean, getBoolean, getInteger, getInteger, getInteger, getString, getString, keys
 
Methods inherited from class org.apache.pluto.portalImpl.services.Service
destroy, init, init, postInit, postInit
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfigServiceImpl

public ConfigServiceImpl()
Method Detail

init

public void init(javax.servlet.ServletConfig aConfig,
                 Properties aProperties)
          throws java.lang.Exception
Description copied from class: Service
Initializes the service using the servlet configuration and the service properties.

Overrides:
init in class Service
Parameters:
aConfig - the servlet configuration
aProperties - the service properties
Throws:
java.lang.Exception - if the initialization fails

destroy

public void destroy()
Description copied from class: Service
Destroys the services. This method allows the service to cleanup any resources.

Overrides:
destroy in class Service

getParameters

public Parameters getParameters()
Description copied from class: ConfigService
Returns the configuration parameters managed by this service.

Specified by:
getParameters in class ConfigService
Returns:
the configuration parameters


Copyright © 2003-2005 . All Rights Reserved.