ManageableTopic t = (ManageableTopic)cm.getCoreDestination(jbt); return t.getSubscriptionsAsText(true) + t.getSubscriptionsAsText(false);
org.jboss.messaging.core.local.Topic t = (org.jboss.messaging.core.local.Topic)cm.getCoreDestination(jbt); return getSubscriptionsAsText(t, true) + getSubscriptionsAsText(t, false);
   public String listSubscriptionsAsText() throws JMSException   {      if (!started)      {         log.warn("Topic is stopped.");         return "";      }      JBossTopic jbt = new JBossTopic(name);      ManageableTopic t = (ManageableTopic)cm.getCoreDestination(jbt);      return t.getSubscriptionsAsText(true) + t.getSubscriptionsAsText(false);   }