示例#1
0
 /**
  * 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));
 }
示例#2
0
 /**
  * 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());
 }