code:   public void execute(FunctionContext context) {
      // Verify that the cache exists before continuing.
      // When this function is executed by a remote membership listener, it is
      // being invoked before the cache is started.
      Cache cache = verifyCacheExists();
  
      // Register as membership listener
      registerAsMembershipListener(cache);
  
      // Register functions
      registerFunctions();
  
      // Return status
      context.getResultSender().lastResult(Boolean.TRUE);
    }
  
  