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

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

public class DataSourceConfigurationJndiLoader
     
     
extends Object
implements Serializable

Responsible to read JNDI configuration properties to connect to a data source stored via JNDI.

See Also:
Serialized Form

Constructor Summary
DataSourceConfigurationJndiLoader()
          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
 

Constructor Detail

DataSourceConfigurationJndiLoader

public DataSourceConfigurationJndiLoader()
Default constructor.

Method Detail

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.