LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.peer.xml.file
Class LyXmlFileDataProvider

java.lang.Object
  extended by leon.peer.LyDataProvider
      extended by leon.peer.LyPeerDataProvider
          extended by leon.peer.util.LyTableDataProvider
              extended by leon.peer.xml.LyXmlDataProvider
                  extended by leon.peer.xml.file.LyXmlFileDataProvider

public class LyXmlFileDataProvider
extends LyXmlDataProvider

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

See Also:
LyXmlRequestEncoder, LyXmlFileConnection

Field Summary
static java.lang.String __VERSION
           
 
Constructor Summary
LyXmlFileDataProvider(LyApplication application, LyLocation location)
          Default constructor Initialization is done with the init method.
 
Method Summary
 boolean close()
          Closes all connections from the connection pool.
 void setLocation(LyLocation location)
          Sets location on provider.
 
Methods inherited from class leon.peer.xml.LyXmlDataProvider
getRequestEncoder
 
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

__VERSION

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

LyXmlFileDataProvider

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

Method Detail

setLocation

public void setLocation(LyLocation location)
Sets location on provider.

Overrides:
setLocation in class LyXmlDataProvider
Parameters:
location - New location for the provider.

close

public boolean close()
Closes all connections from the connection pool.

Overrides:
close in class LyDataProvider
Returns:
true if the request completed successfully.
See Also:
LyDataProvider.createConnections(int)

(c) January 2013 - W4 S.A.

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