org.ws4d.java.configuration
Class ServicesPropertiesHandler

java.lang.Object
  extended by org.ws4d.java.configuration.ServicesPropertiesHandler
All Implemented Interfaces:
PropertiesHandler

public class ServicesPropertiesHandler
extends java.lang.Object
implements PropertiesHandler


Field Summary
 
Fields inherited from interface org.ws4d.java.configuration.PropertiesHandler
FALSE, TRUE
 
Method Summary
 void finishedSection(int depth)
          This method indicates the PropertiesHandler, that the last section with the given depth has been read completely.
static ServicesPropertiesHandler getInstance()
          Returns instance of service properties handler.
 ServiceProperties getServiceProperties(java.lang.Integer configurationId)
          Gets service properties.
 void setProperties(PropertyHeader header, Property property)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static ServicesPropertiesHandler getInstance()
Returns instance of service properties handler.

Returns:
the singleton instance of the service properties

getServiceProperties

public ServiceProperties getServiceProperties(java.lang.Integer configurationId)
Gets service properties.

Parameters:
configurationId -
Returns:
service properties

setProperties

public void setProperties(PropertyHeader header,
                          Property property)
Specified by:
setProperties in interface PropertiesHandler
Parameters:
header - header of section
property - property within section

finishedSection

public void finishedSection(int depth)
Description copied from interface: PropertiesHandler
This method indicates the PropertiesHandler, that the last section with the given depth has been read completely.

Specified by:
finishedSection in interface PropertiesHandler
Parameters:
depth - depth of section.