Spring configuration clean-up
* Regrouped component definitions into one single file per package in most cases, with a few exceptions * Added documentation about how the configuration is stored and which guidelines should be followed when adding or modifying Spring component configurations.
This commit is contained in:
parent
597429fadf
commit
35d8891fe3
62 changed files with 211 additions and 451 deletions
legacyworlds-server-beans-mailer/src/main/resources/configuration
|
@ -1,10 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<beans xmlns="http://www.springframework.org/schema/beans"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="
|
||||
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd">
|
||||
|
||||
<!-- Mailer bean - all properties autowired or defaulted -->
|
||||
<bean id="mailer" class="com.deepclone.lw.beans.mailer.MailerBean" />
|
||||
|
||||
</beans>
|
|
@ -2,9 +2,9 @@
|
|||
<beans xmlns="http://www.springframework.org/schema/beans"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="
|
||||
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd">
|
||||
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.1.xsd">
|
||||
|
||||
<import resource="mailer/mailer-bean.xml" />
|
||||
<bean id="mailer" class="com.deepclone.lw.beans.mailer.MailerBean" />
|
||||
<bean id="mailSender" class="org.springframework.mail.javamail.JavaMailSenderImpl">
|
||||
<property name="host" value="127.0.0.1" />
|
||||
</bean>
|
Reference in a new issue