|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IPersistenceEngine
Interface describing a persistence engine.
| Method Summary | ||
|---|---|---|
|
getDataSource(Class<T> clazz)
Searches for the first data source class implementing the given interface. |
|
|
getDataSource(Class<T> sourceinterface,
String name)
Searches for the data source class implementing the given interface with the given name. |
|
IDataSource |
getDefaultDataSource()
Gets the default data source for all persistence engines. |
|
| Methods inherited from interface com.kuka.roboticsAPI.IEngine |
|---|
dispose, getContext, getEngineType, initialize, setParameters |
| Method Detail |
|---|
<T extends IDataSource> T getDataSource(Class<T> clazz)
T - The interface type the data source should implement.clazz - The concrete interface which the data source should implement.
<T extends IDataSource> T getDataSource(Class<T> sourceinterface,
String name)
T - The interface type the data source should implement.sourceinterface - The concrete interface which the data source should implement.name - The name of the data source.
IDataSource getDefaultDataSource()
Default data source is returned for every data source request if its interface type is the same as the interface type of the requested data source. It can be configured in the configuration file of the RobotcsAPI.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||