String xTopics = element.getAttribute("topic");
if (StringUtils.hasText(xTopics)) {
String[] array = StringUtils.delimitedListToStringArray(xTopics, " ");
for (String string : array) {
topics.add(string.contains("*") ? new PatternTopic(string) : new ChannelTopic(string));
}
}
ret[0] = builder.getBeanDefinition();
ret[1] = topics;