@ Override public void write_attributes_4 ( final AttributeValue_4 [ ] values , final ClntIdent clIdent ) throws MultiDevFailed , DevFailed { MDC . setContextMap ( contextMap ) ; xlogger . entry ( ) ; checkInitialization ( ) ; final String [ ] names = new String [ values . length ] ; for ( int i = 0 ; i < names . length ; i ++ ) { names [ i ] = values [ i ] . name ; } logger . debug ( "writing {}" , Arrays . toString ( names ) ) ; deviceMonitoring . startRequest ( "write_attributes_4 " + Arrays . toString ( names ) , clIdent ) ; clientIdentity . set ( clIdent ) ; if ( ! name . equalsIgnoreCase ( getAdminDeviceName ( ) ) ) { clientLocking . checkClientLocking ( clIdent , names ) ; } final Object lock = deviceLock . getAttributeLock ( ) ; try { synchronized ( lock != null ? lock : new Object ( ) ) { AttributeGetterSetter . setAttributeValue4 ( values , attributeList , stateImpl , aroundInvokeImpl , clIdent ) ; } } catch ( final Exception e ) { deviceMonitoring . addError ( ) ; if ( e instanceof MultiDevFailed ) { throw ( MultiDevFailed ) e ; } else { // with CORBA, the stack trace is not visible by the client if // not inserted in DevFailed. throw DevFailedUtils . newDevFailed ( e ) ; } } xlogger . exit ( ) ; }
Write some attributes . IDL 4 version