LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.peer.sql.access
Class LyAccessDataProvider

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.access.LyAccessDataProvider
All Implemented Interfaces:
LyJoinDataProvider

public class LyAccessDataProvider
extends LySqlDataProvider

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

See Also:
LyDataProvider, LySqlDataProvider, LyAccessRequestEncoder, LyAccessConnection

Field Summary
static java.lang.String __VERSION
           
 
Fields inherited from class leon.peer.sql.LySqlDataProvider
DATASOURCE_NAME
 
Constructor Summary
LyAccessDataProvider(LyApplication application, LyLocation location)
          Default constructor.
 
Method Summary
 LyRequestEncoder getRequestEncoder(LyDataSource dataSource)
          Create a specific request encoder for the specified dataSource.
 
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

LyAccessDataProvider

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

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

getRequestEncoder

public LyRequestEncoder getRequestEncoder(LyDataSource dataSource)
Create a specific request encoder for the specified dataSource.

Overrides:
getRequestEncoder in class LySqlDataProvider
Parameters:
dataSource - reference to the dataSource associated to this request encoder.
Returns:
the specific LyRequestEncoder for the specified dataSource.

(c) January 2013 - W4 S.A.

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