public class Configuration
extends java.lang.Object
1) In a ServletContextListener context.
2) In a JAX-WS endpoint context.
3) In some Java application context.
PdkWsCommon holds a static instance of this class. That instance is initialized in either of the above mentioned contexts.
Modifier and Type | Field and Description |
---|---|
AccessKeyGenerator |
accessKeyGenerator
Object for creating PDK access keys
|
java.lang.String |
cbkortLink
Base URL to associated CBKort site
|
java.util.Map<java.lang.Integer,PlanMetaData> |
codeMetaMap
Map of PlanMetaData by PDK feature code (which is an int)
|
static java.lang.String |
configXMLRootNodeXPath
The XPath to our root-element in our XML-configuration
|
java.lang.Boolean |
dateRulesActive
boolean til skip af dato regler
|
JdbcConnectionProperties |
dbcProperties
Database connection properties.
|
MailProperties |
mailProperties
Mail properties.
|
java.util.Map<java.lang.String,PlanMetaData> |
nameMetaMap
Map of PlanMetaData by feature type name
|
PdkNamespace[] |
namespaces
Array of PdkNamesaces in use for GML-writing.
|
PdfProperties |
pdfProperties
Pdf properties.
|
java.util.Map<java.lang.Integer,PlanTypeProperties> |
planTypeMap
Map of PlanTypeProperties by PDK feature code (which is an int)
|
java.io.File |
schemaBasePath |
StringReplacer |
sysIdReplacer
StringReplacer for replactin schema-locations in loaded GML-schemas
|
RowMetaData[] |
tableMetaData
Array of RowMetaData for all administrative database tables.
|
java.lang.String[] |
tableSequenceName
Array of schema qualified names of SQL sequences associated with tables.
|
java.lang.String |
versionQuery
Complete SQL-select for obtaining version-information from the current (master) database schema
|
Constructor and Description |
---|
Configuration(java.io.File configFile)
The sole constructor for instantiating a Configuration.
|
public static final java.lang.String configXMLRootNodeXPath
public final JdbcConnectionProperties dbcProperties
public final java.lang.String versionQuery
public final java.io.File schemaBasePath
public final java.lang.String cbkortLink
public final java.lang.Boolean dateRulesActive
public final PdkNamespace[] namespaces
public final java.util.Map<java.lang.String,PlanMetaData> nameMetaMap
public final java.util.Map<java.lang.Integer,PlanMetaData> codeMetaMap
public final java.util.Map<java.lang.Integer,PlanTypeProperties> planTypeMap
public final RowMetaData[] tableMetaData
public final java.lang.String[] tableSequenceName
public final MailProperties mailProperties
public final PdfProperties pdfProperties
public final AccessKeyGenerator accessKeyGenerator
public final StringReplacer sysIdReplacer
public Configuration(java.io.File configFile) throws java.lang.Exception
configFile
- Location and name of the PDK XML-configuration file by which this Configuration will be initialized.java.lang.Exception