code: public void removeAll()
      {
          final boolean isTraceOn = TraceComponent.isAnyTracingEnabled();
          if (isTraceOn && tc.isEntryEnabled())
              Tr.entry(tc, "removeAll");
  
          FileBeanFilter theFilter = new FileBeanFilter();
          File[] files = new File(passivationDir == null ? "." : passivationDir).listFiles(theFilter);
          if (files != null)
          {
              for (File file : files)
              {
                  final String name = file.getName();
                  if (name.startsWith(FILENAME_PREFIX))
                  {
                      if (file.delete())
                      {
                          if (isTraceOn && tc.isDebugEnabled())
                              Tr.debug(tc, "deleted " + name);
                      }
                      else
                      {
                          if (isTraceOn && tc.isDebugEnabled())
                              Tr.debug(tc, "failed to delete " + name);
                      }
                  }
                  else
                  {
                      if (isTraceOn && tc.isDebugEnabled())
                          Tr.debug(tc, "skipping " + name);
                  }
              }
          }
  
          if (isTraceOn && tc.isEntryEnabled())
              Tr.exit(tc, "removeAll");
      }
docs: RTC102568