LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.peer.sql.mysql
Class LyMySqlDataProvider

java.lang.Object
  extended by leon.peer.LyDataProvider
      extended by leon.peer.LyPeerDataProvider
          extended by leon.peer.util.LyTableDataProvider
              extended by leon.peer.sql.LySqlDataProvider
                  extended by leon.peer.sql.mysql.LyMySqlDataProvider
All Implemented Interfaces:
LyJoinDataProvider

public class LyMySqlDataProvider
extends LySqlDataProvider

This class is used by DataSources to transmit their requests to an instance of MySqlRequestEncoder.

See Also:
LyDataProvider, LySqlDataProvider, LyMySqlRequestEncoder, LyMySqlConnection

Field Summary
static java.lang.String __VERSION
           
 
Fields inherited from class leon.peer.sql.LySqlDataProvider
DATASOURCE_NAME
 
Constructor Summary
LyMySqlDataProvider(LyApplication application, LyLocation location)
          Default constructor Initialization is done with the init method.
 
Method Summary
 LyRequestEncoder getRequestEncoder(LyDataSource dataSource)
          Get an encoder for the given dataSource and this provider.
 
Methods inherited from class leon.peer.sql.LySqlDataProvider
addSpecificEncoder, endValidate, getJoinRequestEncoder, getTableNames, isXASupported, setLocation, setTrim, writeMetaData, writeMetaData
 
Methods inherited from class leon.peer.LyPeerDataProvider
getPeerClass, invalidate, load, resetPeerClasses, validate, validate, validateNotifier
 
Methods inherited from class leon.peer.LyDataProvider
canBeFullyLoaded, close, dumpConnections, getApplication, getConnection, getEnvironment, getEventNotifier, getId, getLocation, getNbAvailableConnection, getNbConnection, hasLostConnection, isConnectionReady, isModified, isModified, isNotifierReady, releaseConnection, save, setEventNotifier, setModified, setNbConnection, sleep, validate, wakeUp
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

__VERSION

public static final java.lang.String __VERSION
See Also:
Constant Field Values
Constructor Detail

LyMySqlDataProvider

public LyMySqlDataProvider(LyApplication application,
                           LyLocation location)
Default constructor Initialization is done with the init method.

Parameters:
application - the application of this provider
location - the info definition of this provider
Method Detail

getRequestEncoder

public LyRequestEncoder getRequestEncoder(LyDataSource dataSource)
Get an encoder for the given dataSource and this provider.

Overrides:
getRequestEncoder in class LySqlDataProvider
Parameters:
dataSource - the dataSource
Returns:
the request encoder for the specified datasource.

(c) January 2013 - W4 S.A.

Website: W4 S.A., contact us: support@w4global.com