JDistil

Properites

The JDistil framework supports configuration options using a single core.properties file. The properties contained in this file along with descriptions of each property can be found in the example section below. This file is referenced by the framework using the com.bws.jdistil.core.resource.ResourceUtil framework class. The framework also uses this class to reference various core and application specific resource bundles. Additionally, environment specific versions of the core.properties file can be defined and referenced by specifying an environment specific suffix using the "env" system property. For example, specifying "-Denv=dev" would result in the "core-dev.properties" file being loaded by the framework.

File Content

The following documents the properties available in a default core.properties file. Several of the properties are automatically populated when an Eclipse Dynamic Web Project is created using the Project Facet configuration available in the JDistil Plugin. Other properties are provided to support optional features not always included with all applications.
# List of comma delimited application configuration class names
application.configuration=

# Connection provider factory class name
connection.provider.factory=

# Database sequence provider factory class name
sequence.provider.factory=

# Security manager factory class name
security.manager.factory=

# Validator factory class name
validator.factory=

# Welcome, logon and error action IDs
welcome.action.id=
logon.action.id=
error.action.id=

# List of comma delimited base resource names supporting application descriptions.
# Resources defining locale specific translations for application descriptions.
# Default values are used if no resource is defined.
# See descriptions defined in application configuration for page, action and field keys.
description.resources=

# List of comma delimited base resource names supporting application messages.
# Resources defining locale specific translations for application messages.
# Default values are used if no locale specific value is defined.
# See com.bws.jdistil.core.message.MessageResource for all resource keys.
message.resources=

# List of comma delimited base resource names supporting application operators.
# Resources defining locale specific translations for application operators.
# Default values are used if no locale specific value is defined.
# See com.bws.jdistil.core.datasource.database.Operators for operator keys.
operator.resources=

# List of comma delimited base resource names supporting application formats.
# Resources defining locale specific translations for application formats.
# Default values are used if no locale specific value is defined.
# See com.bws.jdistil.core.conversion.Formats for all resource keys.
format.resources=

# Multitenancy indicator
multitenancy.enabled=false

# JNDI initial context factory classname
initial.context.factory=

# Default datasource name used to open DB connections
datasource.name=

# SMTP host name used by Mailer class
smtp.host.name=

# Default page size used by page manager
default.page.size=

# Page navigation images
previous.page.image.source=
next.page.image.source=

# Sort images
sort.ascending.image=
sort.descending.image=