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-system/src/main/resources/configuration
|
@ -7,15 +7,23 @@
|
|||
<bean id="authChallengeGenerator" class="com.deepclone.lw.utils.RandomStringGenerator">
|
||||
<qualifier value="authChallenges" />
|
||||
<property name="length" value="100" />
|
||||
<property name="characterSet" value="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789" />
|
||||
<property name="characterSet"
|
||||
value="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789" />
|
||||
</bean>
|
||||
|
||||
<bean id="constantsManager" class="com.deepclone.lw.beans.sys.ConstantsManagerBean" />
|
||||
<bean id="constantsRegistrar" class="com.deepclone.lw.beans.sys.ConstantsRegistrarBean" />
|
||||
|
||||
<bean id="sessionIDGenerator" class="com.deepclone.lw.utils.RandomStringGenerator">
|
||||
<qualifier value="sessionIdentifiers" />
|
||||
<property name="length" value="50" />
|
||||
<property name="characterSet" value="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789" />
|
||||
<property name="characterSet"
|
||||
value="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789" />
|
||||
</bean>
|
||||
|
||||
<bean id="sessionManager" class="com.deepclone.lw.beans.sys.SessionManagerBean" />
|
||||
<bean id="systemStatus" class="com.deepclone.lw.beans.sys.SystemStatusBean" />
|
||||
<bean id="ticker" class="com.deepclone.lw.beans.sys.TickerBean" />
|
||||
<bean id="tickerManager" class="com.deepclone.lw.beans.sys.TickerManagerBean" />
|
||||
|
||||
</beans>
|
||||
</beans>
|
|
@ -1,12 +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">
|
||||
|
||||
<import resource="system/constants-manager-bean.xml" />
|
||||
<import resource="system/constants-registrar-bean.xml" />
|
||||
<import resource="system/ticker-bean.xml" />
|
||||
<import resource="system/session-manager-bean.xml" />
|
||||
<import resource="system/system-status-bean.xml" />
|
||||
|
||||
</beans>
|
|
@ -1,9 +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">
|
||||
|
||||
<bean id="constantsManager" class="com.deepclone.lw.beans.sys.ConstantsManagerBean" />
|
||||
|
||||
</beans>
|
|
@ -1,9 +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">
|
||||
|
||||
<bean id="constantsRegistrar" class="com.deepclone.lw.beans.sys.ConstantsRegistrarBean" />
|
||||
|
||||
</beans>
|
|
@ -1,9 +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">
|
||||
|
||||
<bean id="systemStatus" class="com.deepclone.lw.beans.sys.SystemStatusBean" />
|
||||
|
||||
</beans>
|
|
@ -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">
|
||||
|
||||
<bean id="tickerManager" class="com.deepclone.lw.beans.sys.TickerManagerBean" />
|
||||
<bean id="ticker" class="com.deepclone.lw.beans.sys.TickerBean" />
|
||||
|
||||
</beans>
|
Reference in a new issue