|
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.local.LyLocalDataProvider
public final class LyLocalDataProvider
This class represents the data provider used for local class infos.
LyClassInfo
Field Summary | |
---|---|
static java.lang.String |
__VERSION
|
Constructor Summary | |
---|---|
LyLocalDataProvider(LyApplication application,
LyLocation location)
Constructs a local data provider. |
Method Summary | |
---|---|
long |
getNextId()
Returns the next computed value for an id. |
LyRequestEncoder |
getRequestEncoder(LyDataSource dataSource)
Create a specific request encoder for the specified dataSource. |
boolean |
validate(LyInfoList<LyClassInfo> classInfos)
This method is used to build all the class peers for all the classInfo. |
boolean |
wakeUp()
This method is called when the application is going out of sleeping mode Default implementation call create the connection pool and wakes up the notifier. |
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 |
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 LyLocalDataProvider(LyApplication application, LyLocation location)
application
- current application instancelocation
- this value is created in LyApplication.createProviders()Method Detail |
---|
public boolean validate(LyInfoList<LyClassInfo> classInfos)
validate
in class LyDataProvider
classInfos
- Classes to validate.
public LyRequestEncoder getRequestEncoder(LyDataSource dataSource)
getRequestEncoder
in class LyDataProvider
dataSource
- Data source for which is request encoder is requested.
public long getNextId()
public boolean wakeUp()
wakeUp
in class LyDataProvider
LyDataProvider.sleep()
|
(c) January 2013 - W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |