|
LEONARDI Application Composer - 8.9.0.40 by W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectleon.peer.LyDataProvider
leon.peer.LyPeerDataProvider
leon.peer.util.LyTableDataProvider
leon.peer.file.LyFileDataProvider
public class LyFileDataProvider
This class is used by DataSources to transmit their requests to an instance of RequestEncoder.
LyRowObject
,
LyTableClass
,
LyColumnField
,
LyFileRequestEncoder
,
LyFileConnection
Field Summary | |
---|---|
static java.lang.String |
__VERSION
|
static boolean |
SAVE_XML_FILES
|
Constructor Summary | |
---|---|
LyFileDataProvider(LyApplication application,
LyLocation location)
Default constructor Initialization is done with the init method. |
|
LyFileDataProvider(LyApplication application,
java.lang.String id,
java.lang.String baseDirectory,
java.lang.String valueSep,
java.lang.String fieldSep)
Deprecated. use LyFileDataProvider(LyApplication, LyLocation) instead. |
Method Summary | |
---|---|
boolean |
close()
Closes all connections from the connection pool. |
LyRequestEncoder |
getRequestEncoder(LyDataSource dataSource)
Create a specific request encoder for the specified dataSource. |
void |
setLocation(LyLocation location)
Sets location on provider. |
Methods inherited from class leon.peer.LyPeerDataProvider |
---|
getPeerClass, invalidate, load, resetPeerClasses, validate, validate, validateNotifier |
Methods inherited from class leon.peer.LyDataProvider |
---|
canBeFullyLoaded, dumpConnections, getApplication, getConnection, getEnvironment, getEventNotifier, getId, getLocation, getNbAvailableConnection, getNbConnection, hasLostConnection, isConnectionReady, isModified, isModified, isNotifierReady, isXASupported, 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 |
---|
public static final java.lang.String __VERSION
public static boolean SAVE_XML_FILES
Constructor Detail |
---|
public LyFileDataProvider(LyApplication application, LyLocation location)
public LyFileDataProvider(LyApplication application, java.lang.String id, java.lang.String baseDirectory, java.lang.String valueSep, java.lang.String fieldSep)
application
- id
- baseDirectory
- valueSep
- fieldSep
- Method Detail |
---|
public void setLocation(LyLocation location)
setLocation
in class LyDataProvider
location
- New location for the provider.public LyRequestEncoder getRequestEncoder(LyDataSource dataSource)
This method is used internally, but subclasses should override this method and create an instance of their own (specific) request encoder.
Default returns a LyRequestEncoder instance.
getRequestEncoder
in class LyDataProvider
dataSource
- reference to the dataSource associated to this request encoder.
public boolean close()
close
in class LyDataProvider
LyDataProvider.createConnections(int)
|
(c) January 2013 - W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |