private BusGroup createBus ( String busId ) { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( tc , "createBus" , busId ) ; // Create a new group and add it to the list. boolean isLocalBus = busId . equals ( _localBusName ) ; final BusGroup group = new BusGroup ( busId , _proxyHandler , isLocalBus ) ; final BusGroup [ ] tempBuses = _buses ; _buses = new BusGroup [ tempBuses . length + 1 ] ; System . arraycopy ( tempBuses , 0 , _buses , 0 , tempBuses . length ) ; _buses [ tempBuses . length ] = group ; // Do not need to propogate local subs to foreign buses // addSubscriptionsToBus(group, busId); if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . exit ( tc , "createBus" , group ) ; return group ; }
Creates a BusGroup with the given name .