/** * Gets all users that are currently in a given topic. * * @param topic The topic to get users for. * @return All of the users in a given topic. */ public List<JMSTopicUser> getAllTopicUsers(JMSTopic topic) { return lookupHelper.findAllMatchingTemplate(space, new JMSTopicUser(topic)); }
/** * Gets all of the topics in the space. * * @return All of the topics in the space. */ public List<JMSTopic> getAllTopics() { return lookupHelper.findAllMatchingTemplate(space, new JMSTopic()); }