de.smartics.properties.impl.config.ds
Class DataSourceConfigurationPropertiesLoader
java.lang.Object
de.smartics.properties.impl.config.ds.DataSourceConfigurationPropertiesLoader
-
All Implemented Interfaces:
-
Serializable
-
public class DataSourceConfigurationPropertiesLoader
-
extends
Object
-
implements
Serializable
Responsible to read configuration properties to connect to a data source stored via JNDI.
-
See Also:
-
Serialized Form
Field Summary |
static String |
CLASSPATH_LOCATION The location within the classpath to find the configuration file to load. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CLASSPATH_LOCATION
public static final String CLASSPATH_LOCATION
-
The location within the classpath to find the configuration file to load.
-
Constant Field Value:
-
"META-INF/smartics-properties/boot/datasource.properties"
DataSourceConfigurationPropertiesLoader
public DataSourceConfigurationPropertiesLoader()
-
Default constructor.
load
public DataSourceConfiguration load()
throws IllegalStateException
-
Loads the data source configuration.
-
-
-
Returns:
-
the data source configuration.
-
Throws:
-
IllegalStateException
- if the configuration cannot be loaded.
Copyright © 2012-2013
Kronseder & Reiner GmbH - smartics. All Rights Reserved.