org.apache.pluto.portalImpl.services.config
Class ConfigServiceImpl
java.lang.Object
org.apache.pluto.portalImpl.services.Service
org.apache.pluto.portalImpl.services.config.ConfigService
org.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.
Method Summary |
void |
destroy()
Destroys the services. |
Parameters |
getParameters()
Returns the configuration parameters managed by this service. |
void |
init(ServletConfig aConfig,
Properties aProperties)
Initializes the service using the servlet context
and the service properties. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
iParameters
private Parameters iParameters
ConfigServiceImpl
public ConfigServiceImpl()
init
public void init(ServletConfig aConfig,
Properties aProperties)
throws java.lang.Exception
- Description copied from class:
Service
- Initializes the service using the servlet context
and the service properties.
- Overrides:
init
in class Service
- Parameters:
aConfig
- the servlet contextaProperties
- 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