public void updateDefinition ( ForeignBusDefinition foreignBusDefinition ) throws SIResourceException { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( tc , "updateDefinition" , foreignBusDefinition ) ; ForeignDestinationDefault newForeignDefault = null ; // If sendAllowed has changed on the BusDefinition, then // update it. updateSendAllowed ( _foreignBusDefinition . getSendAllowed ( ) , foreignBusDefinition . getSendAllowed ( ) ) ; try { // Update the the VLD - including inbound and outbound userids if appropriate VirtualLinkDefinition vld = foreignBusDefinition . getLinkForNextHop ( ) ; updateVirtualLinkDefinition ( vld ) ; newForeignDefault = foreignBusDefinition . getDestinationDefault ( ) ; _foreignDestinationDefault = newForeignDefault ; _foreignBusDefinition = foreignBusDefinition ; } catch ( SIBExceptionObjectNotFound e ) { // Shouldn't occur so FFDC. FFDCFilter . processException ( e , "com.ibm.ws.sib.processor.impl.BusHandler.updateDefinition" , "1:242:1.54" , this ) ; SibTr . exception ( tc , e ) ; // Allow processing to continue } catch ( SIBExceptionNoLinkExists e ) { // Shouldn't occur so FFDC. FFDCFilter . processException ( e , "com.ibm.ws.sib.processor.impl.BusHandler.updateDefinition" , "1:254:1.54" , this ) ; SibTr . exception ( tc , e ) ; // Allow processing to continue } catch ( SIIncorrectCallException e ) { // Shouldn't occur so FFDC. FFDCFilter . processException ( e , "com.ibm.ws.sib.processor.impl.BusHandler.updateDefinition" , "1:266:1.54" , this ) ; SibTr . exception ( tc , e ) ; // Allow processing to continue } catch ( SIBExceptionBusNotFound e ) { // Shouldn't occur so FFDC. FFDCFilter . processException ( e , "com.ibm.ws.sib.processor.impl.BusHandler.updateDefinition" , "1:278:1.54" , this ) ; SibTr . exception ( tc , e ) ; // Allow processing to continue } if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . exit ( tc , "updateDefinition" ) ; }
Dynamically update the foreignBusDefinition