public void notifyOfInitialMembers(CacheListener[] listeners,Set others){
  if (listeners != null) {
    for (int i=0; i < listeners.length; i++) {
      if (listeners[i] instanceof RegionMembershipListener) {
        RegionMembershipListener rml=(RegionMembershipListener)listeners[i];
        try {
          DistributedMember[] otherDms=new DistributedMember[others.size()];
          others.toArray(otherDms);
          rml.initialMembers(this,otherDms);
        }
 catch (        VirtualMachineError err) {
          SystemFailure.initiateFailure(err);
          throw err;
        }
catch (        Throwable t) {
          SystemFailure.checkFailure();
          logger.error(LocalizedMessage.create(LocalizedStrings.DistributedRegion_EXCEPTION_OCCURRED_IN_REGIONMEMBERSHIPLISTENER),t);
        }
      }
    }
  }
}

public void notifyOfInitialMembers ( CacheListener [ ] listeners , Set others ) { if ( listeners != null ) { for ( int i = 0 ; i < listeners . length ; i ++ ) { if ( listeners [ i ] instanceof RegionMembershipListener ) { RegionMembershipListener rml = ( RegionMembershipListener ) listeners [ i ] ; try { DistributedMember [ ] otherDms = new DistributedMember [ others . size ( ) ] ; others . toArray ( otherDms ) ; rml . initialMembers ( this , otherDms ) ; } catch ( VirtualMachineError err ) { SystemFailure . initiateFailure ( err ) ; throw err ; } catch ( Throwable t ) { SystemFailure . checkFailure ( ) ; logger . error ( LocalizedMessage . create ( LocalizedStrings . DistributedRegion_EXCEPTION_OCCURRED_IN_REGIONMEMBERSHIPLISTENER ) , t ) ; } } } } }
notify region membership listeners of the initial membership
