de.smartics.properties.impl.config.ds.hsql
Class HSqlJndiDataSourceProxy

Package class diagram package HSqlJndiDataSourceProxy
java.lang.Object
  extended by de.smartics.properties.impl.config.ds.hsql.AbstractHSqlDataSourceProxy
      extended by de.smartics.properties.impl.config.ds.hsql.HSqlJndiDataSourceProxy
All Implemented Interfaces:
DataSourceProxy, Serializable

public final class HSqlJndiDataSourceProxy
     
     
extends AbstractHSqlDataSourceProxy

Implementation based on a JNDI data source.

See Also:
Serialized Form

Constructor Summary
HSqlJndiDataSourceProxy(JndiDataSourceProxy dataSource)
          Default constructor.
 
Method Summary
 DataSource getDataSource()
          Provides access to the data source.
 String getDataSourceId()
          Returns the identifier of the data source.
 String toString()
           
 
Methods inherited from class de.smartics.properties.impl.config.ds.hsql.AbstractHSqlDataSourceProxy
getCreateTableSqlTemplate, getInsertOrUpdateSqlTemplate, setInsertOrUpdate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HSqlJndiDataSourceProxy

public HSqlJndiDataSourceProxy(JndiDataSourceProxy dataSource)
                        throws NullPointerException
Default constructor.

Parameters:
dataSource - the data source proxy.
Throws:
NullPointerException - if dataSource is null.
Method Detail

getDataSourceId

public String getDataSourceId()
Description copied from interface: DataSourceProxy
Returns the identifier of the data source.

Returns:
the identifier of the data source.

getDataSource

public DataSource getDataSource()
Description copied from interface: DataSourceProxy
Provides access to the data source.

Returns:
the data source.

toString

public String toString()
Overrides:
toString in class Object


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