public void updateVirtualLinkDefinition ( VirtualLinkDefinition newVirtualLinkDefinition ) throws SIIncorrectCallException , SIResourceException { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( tc , "updateVirtualLinkDefinition" , new Object [ ] { newVirtualLinkDefinition } ) ; // Get hold of the associated LinkHandler LinkHandler lh = ( LinkHandler ) _targetDestinationHandler ; // We'll do this under a tranaction. This work is not coordinated with the Admin component. // // Create a local UOW LocalTransaction transaction = txManager . createLocalTransaction ( true ) ; try { lh . updateLinkDefinition ( newVirtualLinkDefinition , transaction ) ; // If the update was successful then commit the unit of work transaction . commit ( ) ; } catch ( SIResourceException e ) { // No FFDC code needed if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . exit ( tc , "updateVirtualLinkDefinition" , e ) ; try { transaction . rollback ( ) ; } catch ( Throwable et ) { // FFDC FFDCFilter . processException ( e , "com.ibm.ws.sib.processor.impl.BusHandler.updateVirtualLinkDefinition" , "1:359:1.54" , this ) ; SibTr . exception ( tc , et ) ; } throw e ; } catch ( RuntimeException e ) { // FFDC FFDCFilter . processException ( e , "com.ibm.ws.sib.processor.impl.BusHandler.updateVirtualLinkDefinition" , "1:373:1.54" , this ) ; if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) { SibTr . exception ( tc , e ) ; SibTr . exit ( tc , "updateVirtualLinkDefinition" , e ) ; } try { transaction . rollback ( ) ; } catch ( Throwable et ) { // FFDC FFDCFilter . processException ( e , "com.ibm.ws.sib.processor.impl.BusHandler.updateVirtualLinkDefinition" , "1:392:1.54" , this ) ; SibTr . exception ( tc , et ) ; } throw e ; } if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . exit ( tc , "updateVirtualLinkDefinition" ) ; }
Update VirtualLinkDefinition attributes such as inbound or outbound userid settings for this bus and any targetting Handlers .