com.metamatrix.dqp.embedded.configuration
Class ServerConfigFileReader

java.lang.Object
  extended by com.metamatrix.dqp.embedded.configuration.ServerConfigFileReader

public class ServerConfigFileReader
extends java.lang.Object

This class loades the server configuration file ServerConfig.xml


Constructor Summary
ServerConfigFileReader(java.net.URL configFile)
          Load the server configuration
 
Method Summary
 ConfigurationModelContainer getConfiguration()
          Get Server Configuration
 java.util.Map getConnectorBindings()
          Will return a map of connector binding properties if the configuration file contained any, key->binding name value->Map of binding properties
 java.util.Map getConnectorTypes()
          Return the Connector types registered with the server configuration
 java.util.Properties getSystemProperties()
          Get properties defined for the System/Query Service
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServerConfigFileReader

public ServerConfigFileReader(java.net.URL configFile)
                       throws java.io.IOException
Load the server configuration

Parameters:
configFile - Server Config File
Throws:
java.io.IOException
Method Detail

getSystemProperties

public java.util.Properties getSystemProperties()
Get properties defined for the System/Query Service

Returns:
properties of the system
Since:
4.3

getConnectorBindings

public java.util.Map getConnectorBindings()
Will return a map of connector binding properties if the configuration file contained any, key->binding name value->Map of binding properties

Returns:
map of the connector bindings.

getConfiguration

public ConfigurationModelContainer getConfiguration()
Get Server Configuration

Returns:
Since:
4.3

getConnectorTypes

public java.util.Map getConnectorTypes()
Return the Connector types registered with the server configuration

Returns:
Since:
4.3


Copyright © 2009. All Rights Reserved.