| | |
| | | |
| | | String beanName = getListenerName(attributes, beanDefinition); |
| | | CmdDocDto cmdDocDto = new CmdDocDto(); |
| | | cmdDocDto.setCmdClass(candidateComponent.getClass()); |
| | | Class<?> clazz = null; |
| | | try { |
| | | clazz = Class.forName(beanDefinition.getBeanClassName()); |
| | | } catch (ClassNotFoundException e) { |
| | | throw new RuntimeException(e); |
| | | } |
| | | cmdDocDto.setCmdClass(clazz); |
| | | cmdDocDto.setDescription(attributes.get("description").toString()); |
| | | cmdDocDto.setAuthor(attributes.get("author").toString()); |
| | | cmdDocDto.setResource(attributes.get("resource").toString()); |