Home > Back-end >  Consult the spring if both use annotations useful configuration files?
Consult the spring if both use annotations useful configuration files?

Time:09-21

Like me in the configuration file declares a bean, but not for this bean properties and property, but when the bean directly for String type attribute assignment in the class, but also directly on the object properties @autowired, then another configured beans beans do before by ref reference attribute (with the property tag specified), so there will be a problem to use? Have this question because when using shiro configuration in the configuration file for that realm configuration and then assigned to the securityManager, but realm implementation class and want to get the user name password so he will be in reference to the business code userService, but then userService seems also to configuration in XML and to configure the Mapper is very sick and under the great god answer thank you.
  • Related