de.smartics.properties.impl.config.ds
Class DataSourceConfigurationLoader

Package class diagram package DataSourceConfigurationLoader
java.lang.Object
  extended by de.smartics.properties.impl.config.ds.DataSourceConfigurationLoader
All Implemented Interfaces:
Serializable

public class DataSourceConfigurationLoader
     
     
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.
 
Constructor Summary
DataSourceConfigurationLoader()
          Default constructor.
 
Method Summary
 DataSourceConfiguration load()
          Loads the data source configuration.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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/datasource.properties"
Constructor Detail

DataSourceConfigurationLoader

public DataSourceConfigurationLoader()
Default constructor.

Method Detail

load

public DataSourceConfiguration load()
Loads the data source configuration.

Returns:
the data source configuration.


Copyright © 2012-2013 Kronseder & Reiner GmbH - smartics. All Rights Reserved.