public void createAllProxies(DistributedMember member,Region<String,Object> monitoringRegion){
  if (logger.isDebugEnabled()) {
    logger.debug("Creating proxy for: {}",member.getId());
  }
  if (remoteFilterChain.isServerGroupFiltered("")) {
    if (logger.isTraceEnabled()) {
      logger.trace("Returning from server group filter");
    }
    return;
  }
  if (remoteFilterChain.isManagedNodeFiltered(member)) {
    if (logger.isTraceEnabled()) {
      logger.trace("returning from managed node filter");
    }
    return;
  }
  Set<String> mbeanNames=monitoringRegion.keySet();
  Iterator<String> it=mbeanNames.iterator();
  while (it.hasNext()) {
    ObjectName objectName=null;
    if (remoteFilterChain.isRemoteMBeanFiltered(objectName)) {
      if (logger.isTraceEnabled()) {
        logger.trace("continue  from remote MBEan node filter");
      }
      continue;
    }
    try {
      objectName=ObjectName.getInstance(it.next());
      if (logger.isDebugEnabled()) {
        logger.debug("Creating proxy for ObjectName: " + objectName.toString());
      }
      createProxy(member,objectName,monitoringRegion,monitoringRegion.get(objectName.toString()));
    }
 catch (    ManagementException e) {
      logger.warn("Create Proxy failed for {} with exception {}",objectName,e.getMessage(),e);
      continue;
    }
catch (    Exception e) {
      logger.warn("Create Proxy failed for {} with exception {}",objectName,e.getMessage(),e);
      continue;
    }
  }
}

public void createAllProxies ( DistributedMember member , Region < String , Object > monitoringRegion ) { if ( logger . isDebugEnabled ( ) ) { logger . debug ( "Creating proxy for: {}" , member . getId ( ) ) ; } if ( remoteFilterChain . isServerGroupFiltered ( "" ) ) { if ( logger . isTraceEnabled ( ) ) { logger . trace ( "Returning from server group filter" ) ; } return ; } if ( remoteFilterChain . isManagedNodeFiltered ( member ) ) { if ( logger . isTraceEnabled ( ) ) { logger . trace ( "returning from managed node filter" ) ; } return ; } Set < String > mbeanNames = monitoringRegion . keySet ( ) ; Iterator < String > it = mbeanNames . iterator ( ) ; while ( it . hasNext ( ) ) { ObjectName objectName = null ; if ( remoteFilterChain . isRemoteMBeanFiltered ( objectName ) ) { if ( logger . isTraceEnabled ( ) ) { logger . trace ( "continue  from remote MBEan node filter" ) ; } continue ; } try { objectName = ObjectName . getInstance ( it . next ( ) ) ; if ( logger . isDebugEnabled ( ) ) { logger . debug ( "Creating proxy for ObjectName: " + objectName . toString ( ) ) ; } createProxy ( member , objectName , monitoringRegion , monitoringRegion . get ( objectName . toString ( ) ) ) ; } catch ( ManagementException e ) { logger . warn ( "Create Proxy failed for {} with exception {}" , objectName , e . getMessage ( ) , e ) ; continue ; } catch ( Exception e ) { logger . warn ( "Create Proxy failed for {} with exception {}" , objectName , e . getMessage ( ) , e ) ; continue ; } } }
this method will create all the proxies for a given distributedmember . it does not throw any exception to its caller . it handles the error and logs error messages it will be called from gii or when a member joins the system
