docs: public MessagingSubscription[] listSubscriptions() throws Exception {
      if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
        SibTr.entry(tc, "getSubscriptions");
  
      List list = new ArrayList();
      Iterator iter = _c.getTopicSpace().getLocalSubscriptionIterator();
      while (iter != null && iter.hasNext()) {
        SIMPLocalSubscriptionControllable o = (SIMPLocalSubscriptionControllable) iter.next();
        list.add(o);
      }
  
      MessagingSubscription[] retValue = new MessagingSubscription[list.size()];
  
      iter = list.iterator();
      int i = 0;
      while (iter.hasNext()) {
        Object o = iter.next();
        retValue[i++] = SIBMBeanResultFactory.createSIBSubscription((SIMPLocalSubscriptionControllable) o);
      }
  
      if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
        SibTr.exit(tc, "getSubscriptions");
      return retValue;
    }