public Subscription[] getWsSubscriptionsForTopic(String topic) throws EventAdminException {
EventBroker eventBroker = EventAdminHolder.getInstance().getEventBroker();
try {
return adaptSubscriptions(eventBroker.getTopicManager().getSubscriptions(topic, true));
} catch (EventBrokerException e) {
throw new EventAdminException("Error in accessing topic manager", e);
}
}