public void updateLinkDefinition(VirtualLinkDefinition virtualLinkDefinition,
                                   LocalTransaction transaction) throws SIResourceException
  {
    if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
      SibTr.entry(tc, "updateLinkDefinition", virtualLinkDefinition);

    // Allow the resetting of the inbound and outbound userids.
    _outboundUserid = virtualLinkDefinition.getOutboundUserid();
    _inboundUserid = virtualLinkDefinition.getInboundUserid();
    _exceptionDestination = virtualLinkDefinition.getExceptionDestination();
    _preferLocal = virtualLinkDefinition.getPreferLocal();

    ForeignBusDefinition busDef = virtualLinkDefinition.getForeignBus();
    if (busDef != null)
    {
      _busName = busDef.getName();
    }
    
    // Harden changes to messagestore
    Transaction msTran = messageProcessor.resolveAndEnlistMsgStoreTransaction(transaction);
    try
    {
      requestUpdate(msTran);

      registerControlAdapters();
    }
    catch (MessageStoreException e)
    {
      // No FFDC code needed
      SibTr.exception(tc, e);
    }
            
    if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
      SibTr.exit(tc, "updateLinkDefinition");
          
    return;
  }
public void updateLinkDefinition ( VirtualLinkDefinition virtualLinkDefinition , LocalTransaction transaction ) throws SIResourceException { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( tc , "updateLinkDefinition" , virtualLinkDefinition ) ; _outboundUserid = virtualLinkDefinition . getOutboundUserid ( ) ; _inboundUserid = virtualLinkDefinition . getInboundUserid ( ) ; _exceptionDestination = virtualLinkDefinition . getExceptionDestination ( ) ; _preferLocal = virtualLinkDefinition . getPreferLocal ( ) ; ForeignBusDefinition busDef = virtualLinkDefinition . getForeignBus ( ) ; if ( busDef != null ) { _busName = busDef . getName ( ) ; } Transaction msTran = messageProcessor . resolveAndEnlistMsgStoreTransaction ( transaction ) ; try { requestUpdate ( msTran ) ; registerControlAdapters ( ) ; } catch ( MessageStoreException e ) { SibTr . exception ( tc , e ) ; } if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . exit ( tc , "updateLinkDefinition" ) ; return ; }
<p>Update the linkHandler's attributes.</p>
@param virtualLinkDefinition
@throws SIResourceException