|
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.union.LyUnionDataProvider
public class LyUnionDataProvider
This class is used by DataSources to transmit their requests to an instance of RequestEncoder.
LyInfoRequestEncoder
Field Summary | |
---|---|
static java.lang.String |
__VERSION
|
Constructor Summary | |
---|---|
LyUnionDataProvider(LyApplication application,
LyLocation location)
Default constructor. |
|
LyUnionDataProvider(LyApplication application,
java.lang.String id)
Deprecated. should use LyUnionDataProvider(LyApplication application, LyLocation location) instead of this constructor. |
Method Summary | |
---|---|
void |
completeCaches(LyClassBinding classBinding)
This method is used to build caches on datasources used in union if they have not one yet. |
void |
completeCaches(LyInfoList<LyClassInfo> classInfos)
This method is used to build caches on datasources used in union if they have not one yet. |
LyRequestEncoder |
getRequestEncoder(LyDataSource dataSource)
Gets request encoder for a given data source. |
boolean |
validate(LyInfoList<LyClassInfo> classInfos)
This method is used to build all the class peers for all the classInfos of the location managed by this provider. |
Methods inherited from class leon.peer.LyDataProvider |
---|
canBeFullyLoaded, close, dumpConnections, getApplication, getConnection, getEnvironment, getEventNotifier, getId, getLocation, getNbAvailableConnection, getNbConnection, hasLostConnection, isConnectionReady, isModified, isModified, isNotifierReady, isXASupported, releaseConnection, save, setEventNotifier, setLocation, setModified, setNbConnection, sleep, validate, validateNotifier, 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
Constructor Detail |
---|
public LyUnionDataProvider(LyApplication application, LyLocation location)
application
- Current application instancelocation
- This value is obtained from the location parameter in the meta model.public LyUnionDataProvider(LyApplication application, java.lang.String id)
application
- Current application instanceid
- Identifier of this dataProvider. This value is obtained from the
location parameter in the meta model.Method Detail |
---|
public LyRequestEncoder getRequestEncoder(LyDataSource dataSource)
getRequestEncoder
in class LyDataProvider
dataSource
- Data source for which a request encoder is requiered.
public boolean validate(LyInfoList<LyClassInfo> classInfos)
validate
in class LyDataProvider
classInfos
- Classes to validate.
public void completeCaches(LyInfoList<LyClassInfo> classInfos)
classInfos
- List of classes for which caches are checked.public void completeCaches(LyClassBinding classBinding)
|
(c) January 2013 - W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |