de.smartics.properties.impl.config.ds.mysql
Class MySqlJndiDataSourceProxy

Package class diagram package MySqlJndiDataSourceProxy
java.lang.Object
  extended by de.smartics.properties.impl.config.ds.mysql.AbstractMySqlDataSourceProxy
      extended by de.smartics.properties.impl.config.ds.mysql.MySqlJndiDataSourceProxy
All Implemented Interfaces:
DataSourceProxy, Serializable

public final class MySqlJndiDataSourceProxy
     
     
extends AbstractMySqlDataSourceProxy

Implementation based on a JNDI data source.

See Also:
Serialized Form

Constructor Summary
MySqlJndiDataSourceProxy(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.mysql.AbstractMySqlDataSourceProxy
getCreateTableSqlTemplate, getInsertOrUpdateSqlTemplate, setInsertOrUpdate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MySqlJndiDataSourceProxy

public MySqlJndiDataSourceProxy(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.