code: public java.util.Map captureStatistics(String name
                      )
                                      throws ObjectManagerException
      {
          if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled())
              trace.entry(this,
                          cclass,
                          "captureStatistics",
                          new Object[] { name });
  
          java.util.Map statistics = new java.util.HashMap(); // To be returned.
  
          synchronized (objectManagerState) {
              if (!(objectManagerState.state == ObjectManagerState.stateColdStarted)
                  && !(objectManagerState.state == ObjectManagerState.stateWarmStarted)) {
                  if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled())
                      trace.exit(this, cclass
                                 , "addEntry"
                                 , new Object[] { new Integer(objectManagerState.state), ObjectManagerState.stateNames[objectManagerState.state] }
                                      );
                  throw new InvalidStateException(this, objectManagerState.state, ObjectManagerState.stateNames[objectManagerState.state]);
              }
  
              if (name.equals("*")) {
                  statistics.putAll(objectManagerState.logOutput.captureStatistics());
                  statistics.putAll(captureStatistics());
  
              } else if (name.equals("LogOutput")) {
                  statistics.putAll(objectManagerState.logOutput.captureStatistics());
  
              } else if (name.equals("ObjectManager")) {
                  statistics.putAll(captureStatistics());
  
              } else {
                  if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled())
                      trace.exit(this,
                                 cclass,
                                 "captureStatistics",
                                 new Object[] { name });
                  throw new StatisticsNameNotFoundException(this,
                                                            name);
              } // if (name.equals...
          } // synchronized (objectManagerState).
  
          if (Tracing.isAnyTracingEnabled() && trace.isEntryEnabled())
              trace.exit(this, cclass
                         , "captureStatistics"
                         , statistics
                              );
          return statistics;
      }
docs: Capture statistics.
  
  @param name The name of the component to capture statistics from.
  @return java.util.Map the captured statistics.
  @throws ObjectManagerException