|
||||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | |||||||||
See:
Description
| Class Summary | |
|---|---|
| CloudEdgeManager | Manages object saving and querying for CloudEdge wrapper. |
| CloudManager | Manages object saving and querying for Cloud wrapper. |
| CloudNodeManager | Manages object saving and querying for CloudNode wrapper. |
| CloudSessionManager | Class for Hibernate Session automatic management. |
Contains all necessary classes to manage the Hibernate Session connected to a cloud database.
To use this Hibernate Wrapper it is sufficient to access static methods of CloudSessionManager class.
Through this class is possible to access static fields representing entity managers or to retrieve an
Hibernate Session built on the Cloud database definition.
Each one of the following fields is a reference to a singleton instance of class containing all available functions for a structure management.
CloudSessionManager.cm: CloudManager
reference, used to manage Cloud objects.CloudSessionManager.cmn: CloudNodeManager
reference, used to manage CloudNode objects.CloudSessionManager.cem: CloudEdgeManager
reference, used to manage CloudEdge objects.
N.B.: Calling the save method on the CloudManager object will produce
a sequence of cascade events in order to save all the connected objects (in fact the full cloud) [TESTED].
Calling the save method on another object of this package will produce the saving of the object
and all his direct linked properties [NOT TESTED].
From CloudSessionManager class of this package it is also possible to access a static function getSessionFactory
that will return an Hibernate session factory in order to grant the direct access to the Hibernate system.
|
||||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | |||||||||