List of all members.
Detailed Description
Class managing CDB access (establishing connection to the CDB, observing DAO changes, and providing accessor methods to the user).
- Author:
- Matej Sekoranja (matej.sekoranja@cosylab.com)
- Version:
- @VERSION@
Constructor & Destructor Documentation
com.cosylab.cdb.client.CDBAccess.CDBAccess |
( |
Logger |
logger |
) |
|
Constructor used only when setDAL(DAL) is called afterwards.
- Parameters:
-
com.cosylab.cdb.client.CDBAccess.CDBAccess |
( |
ORB |
orb, |
|
|
Logger |
logger | |
|
) |
| | |
Member Function Documentation
DAL com.cosylab.cdb.client.CDBAccess.connectAndGetDAL |
( |
|
) |
|
Active (connects if necessary) DAL accessor.
- Returns:
- DAL reference,
null
if failed to connect.
DAOProxy com.cosylab.cdb.client.CDBAccess.createDAO |
( |
String |
curl |
) |
|
Performs the connect of the specified DAO.
- Parameters:
-
- Returns:
- DAO proxy.
- Exceptions:
-
| RuntimeException | on failure |
void com.cosylab.cdb.client.CDBAccess.destroy |
( |
|
) |
|
DAL com.cosylab.cdb.client.CDBAccess.getDAL |
( |
|
) |
|
String [] com.cosylab.cdb.client.CDBAccess.getSubNodes |
( |
DAOProxy |
proxy |
) |
throws Throwable |
Helper method to get all subnodes of the current proxy, removes ".xml" element from the list.
- Parameters:
-
| proxy | proxy whose subnodes to return. |
- Returns:
- array of subnodes.
- Exceptions:
-
| Throwable | exception on failure (e.g. connection failure, etc.) |
String [] com.cosylab.cdb.client.CDBAccess.getSubNodes |
( |
DAOProxy |
proxy, |
|
|
String |
subnode | |
|
) |
| | throws Throwable |
Helper method to get all subnodes of the current proxy, removes ".xml" element from the list.
- Parameters:
-
| proxy | proxy whose subnodes to return. |
| subnode | proxy subnode to be queried |
- Returns:
- array of subnodes.
- Exceptions:
-
| Throwable | exception on failure (e.g. connection failure, etc.) |
void com.cosylab.cdb.client.CDBAccess.readConfiguration |
( |
|
) |
|
void com.cosylab.cdb.client.CDBAccess.setDAL |
( |
DAL |
dal |
) |
|
The documentation for this class was generated from the following file: