fr.esrf.TangoApi
Class ApiUtil
java.lang.Object
|
+--fr.esrf.TangoApi.ApiUtil
- public class ApiUtil
- extends java.lang.Object
Class Description:
This class manage a static vector of Database object.
- Author:
- verdier
Method Summary |
static Database |
get_db_obj()
Return the database object created
with TANGO_HOST environment variable . |
static Database |
get_db_obj(java.lang.String host,
java.lang.String port)
Return the database object created for specified host and port. |
static org.omg.CORBA.ORB |
get_orb()
Return the orb object |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
ApiUtil
public ApiUtil()
throws fr.esrf.Tango.DevFailed
get_db_obj
public static Database get_db_obj()
throws fr.esrf.Tango.DevFailed
- Return the database object created
with TANGO_HOST environment variable .
get_db_obj
public static Database get_db_obj(java.lang.String host,
java.lang.String port)
throws fr.esrf.Tango.DevFailed
- Return the database object created for specified host and port.
- Parameters:
host
- host where database is running.port
- port for database connection.
get_orb
public static org.omg.CORBA.ORB get_orb()
throws fr.esrf.Tango.DevFailed
- Return the orb object