code: @Deprecated
      public static StatsInstance createStatsInstance(String instanceName, String statsTemplate, ObjectName mBean, StatisticActionListener listener)
                      throws StatsFactoryException {
          if (tc.isEntryEnabled())
              Tr.entry(tc, new StringBuffer("createStatsInstance:name=").append(instanceName).append(";template=").
                              append(statsTemplate).append(";mBean=").append((mBean == null) ? null : mBean.toString()).toString());
  
          // call sibling method using a StatisticActions object
          StatsInstance rv = createStatsInstance(instanceName,
                                                 statsTemplate,
                                                 mBean,
                                                 new StatisticActions(listener));
  
          if (tc.isEntryEnabled())
              Tr.exit(tc, "createStatsInstance");
  
          return rv;
      }
docs: Create a StatsInstance using the Stats template and add to the PMI tree at the root level.
  This method will associate the MBean provided by the caller to the Stats instance.
  
  @param instanceName name of the instance
  @param statsTemplate location of the Stats template XML file
  @param mBean MBean that needs to be associated with the Stats instance
  @param listener a StatisticActionListener object. This object will be called when a statistic is created for this instance
  @return Stats instance
  @exception StatsFactoryException if error while creating Stats instance
  @deprecated As of 6.1, replaced by createStatsInstance(String, String, ObjectName, StatisticActions ).