org.jminor.framework
Class Configuration

java.lang.Object
  extended by org.jminor.framework.Configuration

public final class Configuration
extends Object

Settings used throughout the framework. These settings are used during initialization and should be set before the application is initialized, before EntityApplicationPanel.startApplication is called. EntityApplicationPanel.initializeSettings() is a convenience method for this purpose, override and use it to set configuration properties.


Field Summary
static String ALL_PANELS_ACTIVE
          Indicates whether all entity panels should be enabled and receiving input by default
Value type: Boolean
Default value: false
static String ALLOW_COLUMN_REORDERING
          Specifies whether or not columns can be rearranged in tables
Value type: Boolean
Default value: true
static String AUTHENTICATION_REQUIRED
          Specifies whether user authentication is required
Value type: Boolean
Default value: true
static String AUTO_CREATE_ENTITY_MODELS
          Specifies whether entity models should be automatically created if not specified.
static String CACHE_REPORTS
          Specifies whether or not reports are cached when loaded from disk/network,
this prevents "hot deploy" of reports.
static String CLIENT_CONNECTION_TYPE
          Specifies whether the client should connect locally or remotely, accepted values: local, remote
Value type: String
Default value: local
static String COMPACT_ENTITY_PANEL_LAYOUT
          Indicates whether entity panels containing detail panels should by default be laid out in a compact manner
Value type: Boolean
Default value: true
static String CONFIRM_EXIT
          Indicates whether the application should ask for confirmation when exiting
Value type: Boolean
Default value: false
static String CONNECTION_TYPE_LOCAL
          Indicates a local database connection
static String CONNECTION_TYPE_REMOTE
          Indicates a remote database connection
static String DEFAULT_COMBO_BOX_NULL_VALUE_ITEM
          Specifies the value used by default to represent a null value in combo box models.
static String DEFAULT_DATE_FORMAT
          The date format pattern to use when showing date values in tables and when creating default date input fields
Value type: String
Default value: dd-MM-yyyy
static String DEFAULT_FOREIGN_KEY_FETCH_DEPTH
          Specifies the default foreign key fetch depth
Value type: Integer
Default value: 1
static String DEFAULT_LABEL_TEXT_ALIGNMENT
          Specifies the default horizontal alignment used in labels
Value type: Integer (JLabel.LEFT, JLabel.RIGHT, JLabel.CENTER)
Default value: JLabel.LEFT
static String DEFAULT_LOOK_AND_FEEL_CLASSNAME
          Specifies the default look and feel classname Value type: String
Default value: UIManager.getSystemLookAndFeelClassName()
static String DEFAULT_SEARCH_PANEL_STATE
          Specifies the default search panel state, whether it should be visible or not
Value type: Boolean
Default value: false
static String DEFAULT_TIMESTAMP_FORMAT
          The date format pattern to use when showing timestamp values in tables and when creating default timestamp input fields
Value type: String
Default value: dd-MM-yyyy HH:mm
static String DEFAULT_USERNAME
          Default username for the login panel
static String ENTITY_DESERIALIZER_CLASS
          Specifies the class used for deserializing entity instances.
static String ENTITY_SERIALIZER_CLASS
          Specifies the class used for serializing entity instances.
static String INVALID_VALUE_BACKGROUND_COLOR
          Specifies the color to use as background in input fields containing invalid values
Value type: Color
Default value: Color.LIGHT_GRAY
static String JAVAX_NET_NET_TRUSTSTORE
           
static String LIMIT_FOREIGN_KEY_FETCH_DEPTH
          Specifies whether the foreign key value graph should be fully populated instead of being limited by the foreign key fetch depth setting.
static String LOAD_TEST_BATCH_SIZE
          Specifies the initial client batch size
Value type: Integer
Default value: 10
static String LOAD_TEST_LOGIN_DELAY
          Specifies the number which the max think time is multiplied with when initializing the clients
Value type: Integer
Default value: 2
static String LOAD_TEST_REMOTE
          Indicates whether a load test runner should use a remote load test server
Value type: Boolean
Default value: false
static String LOAD_TEST_REMOTE_HOSTNAME
          Specifies the hostname of the remote load test server
Value type: String
Default value: localhost
static String LOAD_TEST_THINKTIME
          Specifies the initial think time setting for the load test client (max think time = thinktime, min think time = max think time / 2)
Value type: Integer
Default value: 2000
static String LOCAL_CONNECTION_PROVIDER
          Specifies the class providing local db connections
Value type: String (the name of a class implementing org.jminor.framework.db.provider.EntityConnectionProvider)
Default value: org.jminor.framework.db.provider.LocalEntityConnectionProvider
static String PERFORM_NULL_VALIDATION
          Specifies whether the client layer should perform null validation on entities before update/insert actions are performed
Value type: Boolean
Default value: true
static String PERSIST_ENTITY_PANELS
          Specifies if EntityPanels opened via the EntityApplicationPanel.showEntityPanelDialog method should be persisted, or kept in memory, when the dialog is closed.
static String PERSIST_FOREIGN_KEY_VALUES
          Specifies whether foreign key values should persist when the UI is cleared or be reset to null
Value type: Boolean
Default value: true
static String PROPERTY_DEBUG_OUTPUT
          Specifies whether the framework should output verbose debug output regarding property changes in entities
Value type: Boolean
Default value: false
static String REMOTE_CONNECTION_PROVIDER
          Specifies the class providing remote db connections
Value type: String (the name of a class implementing org.jminor.framework.db.provider.EntityConnectionProvider)
Default value: org.jminor.framework.server.RemoteEntityConnectionProvider
static String REPORT_PATH
          The report path used for the default report generation, either file or http based
static String SERVER_ADMIN_PORT
          The port on which the server should export the remote admin interface
static String SERVER_CLIENT_LOGGING_ENABLED
          The initial connection logging status on the server, either true (on) or false (off)
Value type: Boolean
Default value: true
static String SERVER_CONNECTION_LIMIT
          Specifies maximum number of concurrent connections the server accepts
-1 indicates no limit and 0 indicates a closed server.
static String SERVER_CONNECTION_LOG_SIZE
          Specifies the size of the (circular) log the server keeps in memory for each connected client
Value type: Integer
Default value: 40
static String SERVER_CONNECTION_POOLING_INITIAL
          Specifies a comma separated list of usernames for which to create connection pools on startup
static String SERVER_CONNECTION_SSL_ENABLED
          Specifies whether the server should establish connections using a secure sockets layer, true (on) or false (off)
ValueType: Boolean
Default value: true
static String SERVER_DB_PORT
          The port on which the server should export the remote database connections
static String SERVER_DOMAIN_MODEL_CLASSES
          Specifies a comma separated list of domain model classnames, these classes must be available on the server classpath or the jars containing these classes specified via the SERVER_DOMAIN_MODEL_JARS property
static String SERVER_DOMAIN_MODEL_JARS
          Specifies a comma separated list of jar files to use when loading domain model classes
static String SERVER_HOST_NAME
          The host on which to locate the server
Value type: String
Default value: localhost
static String SERVER_NAME_PREFIX
          Specifies the prefix used when exporting/looking up the JMinor server
Value type: String
Default value: JMinor Server
static String SERVER_PORT
          If specified, the client will look for a server running on this port
static String SHOW_STARTUP_DIALOG
          Specifies whether a startup dialog should be shown
Value type: Boolean
Default value: true
static String SQL_BOOLEAN_VALUE_FALSE
          Specifies the value used to denote a boolean false in the database
Value type: Any Object
Default value: 0
static String SQL_BOOLEAN_VALUE_TRUE
          Specifies the value used to denote a boolean true in the database
Value type: Any Object
Default value: 1
static String TAB_PLACEMENT
          Specifies the tab placement
Value type: Integer (JTabbedPane.TOP, JTabbedPane.BOTTOM, JTabbedPane.LEFT, JTabbedPane.RIGHT)
Default value: JTabbedPane.TOP
static String TABLE_AUTO_RESIZE_MODE
          Specifies the default table column resize mode for tables in the application
Value type: Integer (JTable.AUTO_RESIZE_*)
Default value: JTable.AUTO_RESIZE_OFF
static String TOOLBAR_BUTTONS
          Specifies whether the action buttons (Save, update, delete, clear, refresh) should be on a toolbar
Value type: Boolean
Default value: false
static String TRANSFER_FOCUS_ON_ENTER
          Specifies whether focus should be transferred from components on enter, this does not work for editable combo boxes, combo boxes with the maximum match functionality enabled or text areas
Value type: Boolean
Default value: true
static String USE_FOCUS_ACTIVATION
          Indicates whether entity panels should be activated when the panel receives focus
Value type: Boolean
Default value: true
static String USE_KEYBOARD_NAVIGATION
          Indicates whether keyboard navigation will be enabled
Value type: Boolean
Default value: true
static String USE_NUMBER_FORMAT_GROUPING
          Specifies whether or not to use number format grouping in table views, i.e. 1234567 shown as 1.234.567 or 1,234,567 depending on locale.
static String USE_OPTIMISTIC_LOCKING
          Specifies whether optimistic locking should be performed, that is, if entities should be selected for update and checked for modification before being updated
Value type: Boolean
Default value: false
static String USERNAME_PREFIX
          Specifies a string to prepend to the username field in the login dialog
Value type: String
Default value: [empty string]
static String WEB_SERVER_DOCUMENT_ROOT
          Specifies the document root for the WebStartServer, if no specified the web server will not be started
Value type: String
Default value: null
static String WEB_SERVER_PORT
          Specifies the port number for the WebStartServer
Value type: Integer
Default value: 80
static String WILDCARD_CHARACTER
          Specifies the wildcard character used by the framework
Value type: String
Default value: %
 
Method Summary
static void clearValue(String key)
           
static boolean entityDeserializerAvailable()
           
static boolean entitySerializerAvailable()
           
static Boolean getBooleanValue(String key)
           
static SimpleDateFormat getDefaultDateFormat()
           
static SimpleDateFormat getDefaultTimestampFormat()
           
static String getDefaultUsername(String applicationIdentifier)
           
static Integer getIntValue(String key)
           
static String getReportPath()
           
static String getStringValue(String key)
           
static Object getValue(String key)
           
static void init()
          A convenience method for loading this class so that it parses configuration files and such
static void resolveTruststoreProperty(String temporaryFileName)
          Resolves the "javax.net.ssl.trustStore" to a temporary file, assigning it to the property
static void setValue(String key, Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CONNECTION_TYPE_LOCAL

public static final String CONNECTION_TYPE_LOCAL
Indicates a local database connection

See Also:
CLIENT_CONNECTION_TYPE, Constant Field Values

CONNECTION_TYPE_REMOTE

public static final String CONNECTION_TYPE_REMOTE
Indicates a remote database connection

See Also:
CLIENT_CONNECTION_TYPE, Constant Field Values

CLIENT_CONNECTION_TYPE

public static final String CLIENT_CONNECTION_TYPE
Specifies whether the client should connect locally or remotely, accepted values: local, remote
Value type: String
Default value: local

See Also:
CONNECTION_TYPE_LOCAL, CONNECTION_TYPE_REMOTE, Constant Field Values

REPORT_PATH

public static final String REPORT_PATH
The report path used for the default report generation, either file or http based

See Also:
Constant Field Values

CACHE_REPORTS

public static final String CACHE_REPORTS
Specifies whether or not reports are cached when loaded from disk/network,
this prevents "hot deploy" of reports. This is only applicable if caching makes
sense in the reporting plugin context.
Value type: Boolean
Default value: true

See Also:
Constant Field Values

DEFAULT_USERNAME

public static final String DEFAULT_USERNAME
Default username for the login panel

See Also:
Constant Field Values

SERVER_HOST_NAME

public static final String SERVER_HOST_NAME
The host on which to locate the server
Value type: String
Default value: localhost

See Also:
Constant Field Values

SERVER_PORT

public static final String SERVER_PORT
If specified, the client will look for a server running on this port

See Also:
Constant Field Values

SERVER_ADMIN_PORT

public static final String SERVER_ADMIN_PORT
The port on which the server should export the remote admin interface

See Also:
Constant Field Values

SERVER_DB_PORT

public static final String SERVER_DB_PORT
The port on which the server should export the remote database connections

See Also:
Constant Field Values

SERVER_CLIENT_LOGGING_ENABLED

public static final String SERVER_CLIENT_LOGGING_ENABLED
The initial connection logging status on the server, either true (on) or false (off)
Value type: Boolean
Default value: true

See Also:
Constant Field Values

SERVER_CONNECTION_LOG_SIZE

public static final String SERVER_CONNECTION_LOG_SIZE
Specifies the size of the (circular) log the server keeps in memory for each connected client
Value type: Integer
Default value: 40

See Also:
Constant Field Values

SERVER_CONNECTION_LIMIT

public static final String SERVER_CONNECTION_LIMIT
Specifies maximum number of concurrent connections the server accepts
-1 indicates no limit and 0 indicates a closed server. Value type: Integer
Default value: -1

See Also:
Constant Field Values

SERVER_CONNECTION_SSL_ENABLED

public static final String SERVER_CONNECTION_SSL_ENABLED
Specifies whether the server should establish connections using a secure sockets layer, true (on) or false (off)
ValueType: Boolean
Default value: true

See Also:
Constant Field Values

SERVER_CONNECTION_POOLING_INITIAL

public static final String SERVER_CONNECTION_POOLING_INITIAL
Specifies a comma separated list of usernames for which to create connection pools on startup

See Also:
Constant Field Values

SERVER_DOMAIN_MODEL_JARS

public static final String SERVER_DOMAIN_MODEL_JARS
Specifies a comma separated list of jar files to use when loading domain model classes

See Also:
SERVER_DOMAIN_MODEL_CLASSES, Constant Field Values

SERVER_DOMAIN_MODEL_CLASSES

public static final String SERVER_DOMAIN_MODEL_CLASSES
Specifies a comma separated list of domain model classnames, these classes must be available on the server classpath or the jars containing these classes specified via the SERVER_DOMAIN_MODEL_JARS property

See Also:
SERVER_DOMAIN_MODEL_JARS, Constant Field Values

LOAD_TEST_THINKTIME

public static final String LOAD_TEST_THINKTIME
Specifies the initial think time setting for the load test client (max think time = thinktime, min think time = max think time / 2)
Value type: Integer
Default value: 2000

See Also:
Constant Field Values

LOAD_TEST_LOGIN_DELAY

public static final String LOAD_TEST_LOGIN_DELAY
Specifies the number which the max think time is multiplied with when initializing the clients
Value type: Integer
Default value: 2

See Also:
Constant Field Values

LOAD_TEST_BATCH_SIZE

public static final String LOAD_TEST_BATCH_SIZE
Specifies the initial client batch size
Value type: Integer
Default value: 10

See Also:
Constant Field Values

LOAD_TEST_REMOTE

public static final String LOAD_TEST_REMOTE
Indicates whether a load test runner should use a remote load test server
Value type: Boolean
Default value: false

See Also:
Constant Field Values

LOAD_TEST_REMOTE_HOSTNAME

public static final String LOAD_TEST_REMOTE_HOSTNAME
Specifies the hostname of the remote load test server
Value type: String
Default value: localhost

See Also:
Constant Field Values

DEFAULT_TIMESTAMP_FORMAT

public static final String DEFAULT_TIMESTAMP_FORMAT
The date format pattern to use when showing timestamp values in tables and when creating default timestamp input fields
Value type: String
Default value: dd-MM-yyyy HH:mm

See Also:
Constant Field Values

DEFAULT_DATE_FORMAT

public static final String DEFAULT_DATE_FORMAT
The date format pattern to use when showing date values in tables and when creating default date input fields
Value type: String
Default value: dd-MM-yyyy

See Also:
Constant Field Values

ALL_PANELS_ACTIVE

public static final String ALL_PANELS_ACTIVE
Indicates whether all entity panels should be enabled and receiving input by default
Value type: Boolean
Default value: false

See Also:
USE_FOCUS_ACTIVATION, Constant Field Values

COMPACT_ENTITY_PANEL_LAYOUT

public static final String COMPACT_ENTITY_PANEL_LAYOUT
Indicates whether entity panels containing detail panels should by default be laid out in a compact manner
Value type: Boolean
Default value: true

See Also:
Constant Field Values

USE_KEYBOARD_NAVIGATION

public static final String USE_KEYBOARD_NAVIGATION
Indicates whether keyboard navigation will be enabled
Value type: Boolean
Default value: true

See Also:
Constant Field Values

USE_FOCUS_ACTIVATION

public static final String USE_FOCUS_ACTIVATION
Indicates whether entity panels should be activated when the panel receives focus
Value type: Boolean
Default value: true

See Also:
ALL_PANELS_ACTIVE, Constant Field Values

TABLE_AUTO_RESIZE_MODE

public static final String TABLE_AUTO_RESIZE_MODE
Specifies the default table column resize mode for tables in the application
Value type: Integer (JTable.AUTO_RESIZE_*)
Default value: JTable.AUTO_RESIZE_OFF

See Also:
Constant Field Values

CONFIRM_EXIT

public static final String CONFIRM_EXIT
Indicates whether the application should ask for confirmation when exiting
Value type: Boolean
Default value: false

See Also:
Constant Field Values

PROPERTY_DEBUG_OUTPUT

public static final String PROPERTY_DEBUG_OUTPUT
Specifies whether the framework should output verbose debug output regarding property changes in entities
Value type: Boolean
Default value: false

See Also:
Constant Field Values

TAB_PLACEMENT

public static final String TAB_PLACEMENT
Specifies the tab placement
Value type: Integer (JTabbedPane.TOP, JTabbedPane.BOTTOM, JTabbedPane.LEFT, JTabbedPane.RIGHT)
Default value: JTabbedPane.TOP

See Also:
Constant Field Values

ALLOW_COLUMN_REORDERING

public static final String ALLOW_COLUMN_REORDERING
Specifies whether or not columns can be rearranged in tables
Value type: Boolean
Default value: true

See Also:
Constant Field Values

TOOLBAR_BUTTONS

public static final String TOOLBAR_BUTTONS
Specifies whether the action buttons (Save, update, delete, clear, refresh) should be on a toolbar
Value type: Boolean
Default value: false

See Also:
Constant Field Values

PERSIST_FOREIGN_KEY_VALUES

public static final String PERSIST_FOREIGN_KEY_VALUES
Specifies whether foreign key values should persist when the UI is cleared or be reset to null
Value type: Boolean
Default value: true

See Also:
Constant Field Values

USERNAME_PREFIX

public static final String USERNAME_PREFIX
Specifies a string to prepend to the username field in the login dialog
Value type: String
Default value: [empty string]

See Also:
Constant Field Values

AUTHENTICATION_REQUIRED

public static final String AUTHENTICATION_REQUIRED
Specifies whether user authentication is required
Value type: Boolean
Default value: true

See Also:
Constant Field Values

SHOW_STARTUP_DIALOG

public static final String SHOW_STARTUP_DIALOG
Specifies whether a startup dialog should be shown
Value type: Boolean
Default value: true

See Also:
Constant Field Values

TRANSFER_FOCUS_ON_ENTER

public static final String TRANSFER_FOCUS_ON_ENTER
Specifies whether focus should be transferred from components on enter, this does not work for editable combo boxes, combo boxes with the maximum match functionality enabled or text areas
Value type: Boolean
Default value: true

See Also:
Constant Field Values

USE_OPTIMISTIC_LOCKING

public static final String USE_OPTIMISTIC_LOCKING
Specifies whether optimistic locking should be performed, that is, if entities should be selected for update and checked for modification before being updated
Value type: Boolean
Default value: false

See Also:
Constant Field Values

SQL_BOOLEAN_VALUE_FALSE

public static final String SQL_BOOLEAN_VALUE_FALSE
Specifies the value used to denote a boolean false in the database
Value type: Any Object
Default value: 0

See Also:
Constant Field Values

SQL_BOOLEAN_VALUE_TRUE

public static final String SQL_BOOLEAN_VALUE_TRUE
Specifies the value used to denote a boolean true in the database
Value type: Any Object
Default value: 1

See Also:
Constant Field Values

PERSIST_ENTITY_PANELS

public static final String PERSIST_ENTITY_PANELS
Specifies if EntityPanels opened via the EntityApplicationPanel.showEntityPanelDialog method should be persisted, or kept in memory, when the dialog is closed.
Value type: Boolean
Default value: false

See Also:
EntityApplicationPanel.showEntityPanelDialog(org.jminor.framework.client.ui.EntityPanelProvider), Constant Field Values

DEFAULT_SEARCH_PANEL_STATE

public static final String DEFAULT_SEARCH_PANEL_STATE
Specifies the default search panel state, whether it should be visible or not
Value type: Boolean
Default value: false

See Also:
Constant Field Values

SERVER_NAME_PREFIX

public static final String SERVER_NAME_PREFIX
Specifies the prefix used when exporting/looking up the JMinor server
Value type: String
Default value: JMinor Server

See Also:
Constant Field Values

WEB_SERVER_DOCUMENT_ROOT

public static final String WEB_SERVER_DOCUMENT_ROOT
Specifies the document root for the WebStartServer, if no specified the web server will not be started
Value type: String
Default value: null

See Also:
Constant Field Values

WEB_SERVER_PORT

public static final String WEB_SERVER_PORT
Specifies the port number for the WebStartServer
Value type: Integer
Default value: 80

See Also:
Constant Field Values

WILDCARD_CHARACTER

public static final String WILDCARD_CHARACTER
Specifies the wildcard character used by the framework
Value type: String
Default value: %

See Also:
Constant Field Values

USE_NUMBER_FORMAT_GROUPING

public static final String USE_NUMBER_FORMAT_GROUPING
Specifies whether or not to use number format grouping in table views, i.e. 1234567 shown as 1.234.567 or 1,234,567 depending on locale. This can be overridden on Property basis via Property.setUseNumberFormatGrouping()
Value type: Boolean
Default value: true

See Also:
Property.setUseNumberFormatGrouping(boolean), Constant Field Values

REMOTE_CONNECTION_PROVIDER

public static final String REMOTE_CONNECTION_PROVIDER
Specifies the class providing remote db connections
Value type: String (the name of a class implementing org.jminor.framework.db.provider.EntityConnectionProvider)
Default value: org.jminor.framework.server.RemoteEntityConnectionProvider

See Also:
Constant Field Values

ENTITY_SERIALIZER_CLASS

public static final String ENTITY_SERIALIZER_CLASS
Specifies the class used for serializing entity instances.
Value type: String, the name of the class implementing org.jminor.common.model.Serializer
Default value: none

See Also:
Constant Field Values

ENTITY_DESERIALIZER_CLASS

public static final String ENTITY_DESERIALIZER_CLASS
Specifies the class used for deserializing entity instances.
Value type: String, the name of the class implementing org.jminor.common.model.Deserializer
Default value: none

See Also:
Constant Field Values

LOCAL_CONNECTION_PROVIDER

public static final String LOCAL_CONNECTION_PROVIDER
Specifies the class providing local db connections
Value type: String (the name of a class implementing org.jminor.framework.db.provider.EntityConnectionProvider)
Default value: org.jminor.framework.db.provider.LocalEntityConnectionProvider

See Also:
Constant Field Values

DEFAULT_COMBO_BOX_NULL_VALUE_ITEM

public static final String DEFAULT_COMBO_BOX_NULL_VALUE_ITEM
Specifies the value used by default to represent a null value in combo box models. Using the value null indicates that no null value item should be used.
Value type: String
Default value: -

See Also:
Constant Field Values

INVALID_VALUE_BACKGROUND_COLOR

public static final String INVALID_VALUE_BACKGROUND_COLOR
Specifies the color to use as background in input fields containing invalid values
Value type: Color
Default value: Color.LIGHT_GRAY

See Also:
Constant Field Values

PERFORM_NULL_VALIDATION

public static final String PERFORM_NULL_VALIDATION
Specifies whether the client layer should perform null validation on entities before update/insert actions are performed
Value type: Boolean
Default value: true

See Also:
Property.setNullable(boolean), Constant Field Values

DEFAULT_LABEL_TEXT_ALIGNMENT

public static final String DEFAULT_LABEL_TEXT_ALIGNMENT
Specifies the default horizontal alignment used in labels
Value type: Integer (JLabel.LEFT, JLabel.RIGHT, JLabel.CENTER)
Default value: JLabel.LEFT

See Also:
SwingConstants.LEFT, SwingConstants.RIGHT, SwingConstants.CENTER, Constant Field Values

DEFAULT_FOREIGN_KEY_FETCH_DEPTH

public static final String DEFAULT_FOREIGN_KEY_FETCH_DEPTH
Specifies the default foreign key fetch depth
Value type: Integer
Default value: 1

See Also:
Constant Field Values

LIMIT_FOREIGN_KEY_FETCH_DEPTH

public static final String LIMIT_FOREIGN_KEY_FETCH_DEPTH
Specifies whether the foreign key value graph should be fully populated instead of being limited by the foreign key fetch depth setting. Value type: Boolean
Default value: true

See Also:
Constant Field Values

DEFAULT_LOOK_AND_FEEL_CLASSNAME

public static final String DEFAULT_LOOK_AND_FEEL_CLASSNAME
Specifies the default look and feel classname Value type: String
Default value: UIManager.getSystemLookAndFeelClassName()

See Also:
Constant Field Values

AUTO_CREATE_ENTITY_MODELS

public static final String AUTO_CREATE_ENTITY_MODELS
Specifies whether entity models should be automatically created if not specified. Value type: Boolean
Default value: true

See Also:
Constant Field Values

JAVAX_NET_NET_TRUSTSTORE

public static final String JAVAX_NET_NET_TRUSTSTORE
See Also:
Constant Field Values
Method Detail

init

public static void init()
A convenience method for loading this class so that it parses configuration files and such


setValue

public static void setValue(String key,
                            Object value)

clearValue

public static void clearValue(String key)

getValue

public static Object getValue(String key)

getIntValue

public static Integer getIntValue(String key)

getBooleanValue

public static Boolean getBooleanValue(String key)

getStringValue

public static String getStringValue(String key)

getDefaultUsername

public static String getDefaultUsername(String applicationIdentifier)
Parameters:
applicationIdentifier - the application identifier name
Returns:
the default username

getDefaultDateFormat

public static SimpleDateFormat getDefaultDateFormat()
Returns:
A non-lenient SimpleDateFormat based on Configuration.DEFAULT_DATE_FORMAT
See Also:
DEFAULT_DATE_FORMAT

getDefaultTimestampFormat

public static SimpleDateFormat getDefaultTimestampFormat()
Returns:
A non-lenient SimpleDateFormat based on Configuration.DEFAULT_TIMESTAMP_FORMAT
See Also:
DEFAULT_TIMESTAMP_FORMAT

getReportPath

public static String getReportPath()

entitySerializerAvailable

public static boolean entitySerializerAvailable()
Returns:
true if a entity serializer is specified and available on the classpath

entityDeserializerAvailable

public static boolean entityDeserializerAvailable()
Returns:
true if a entity deserializer is specified and available on the classpath

resolveTruststoreProperty

public static void resolveTruststoreProperty(String temporaryFileName)
Resolves the "javax.net.ssl.trustStore" to a temporary file, assigning it to the property

Parameters:
temporaryFileName - the temp filename