@ Override public void exportAll ( ) throws DevFailed { // load tango db cache DatabaseFactory . getDatabase ( ) . loadCache ( serverName , hostName ) ; // special case for admin device final DeviceClassBuilder clazz = new DeviceClassBuilder ( AdminDevice . class , Constants . ADMIN_SERVER_CLASS_NAME ) ; deviceClassList . add ( clazz ) ; final DeviceImpl dev = buildDevice ( Constants . ADMIN_DEVICE_DOMAIN + "/" + serverName , clazz ) ; ( ( AdminDevice ) dev . getBusinessObject ( ) ) . setTangoExporter ( this ) ; ( ( AdminDevice ) dev . getBusinessObject ( ) ) . setClassList ( deviceClassList ) ; // load server class exportDevices ( ) ; // init polling pool config TangoCacheManager . initPoolConf ( ) ; // clear tango db cache (used only for server start-up phase) DatabaseFactory . getDatabase ( ) . clearCache ( ) ; }
Build all devices of all classes that are is this executable