public void update ( ) throws DevFailed { xlogger . entry ( ) ; final Map < String , String [ ] > property = PropertiesUtils . getDeviceProperties ( deviceName ) ; if ( property != null && property . size ( ) != 0 ) { try { propertyMethod . invoke ( businessObject , property ) ; } catch ( final IllegalArgumentException e ) { throw DevFailedUtils . newDevFailed ( e ) ; } catch ( final IllegalAccessException e ) { throw DevFailedUtils . newDevFailed ( e ) ; } catch ( final SecurityException e ) { throw DevFailedUtils . newDevFailed ( e ) ; } catch ( final InvocationTargetException e ) { throw DevFailedUtils . newDevFailed ( e ) ; } } xlogger . exit ( ) ; }
update all properties and values of this device