awips2/edexOsgi/com.raytheon.uf.common.time/res/spring/time-common.xml
Steve Harris e197f23ce3 13.5.1-4 baseline
Former-commit-id: d18b403b332dff67d1c85d4317bbceda337d1b41
2013-06-28 09:46:25 -04:00

21 lines
No EOL
1.4 KiB
XML

<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.1.xsd">
<bean id="dataTimeConverterRegistered" class="com.raytheon.uf.common.util.ConvertUtil" factory-method="registerConverter">
<constructor-arg><bean class="com.raytheon.uf.common.time.util.DataTimeConverter"/></constructor-arg>
<constructor-arg><value>com.raytheon.uf.common.time.DataTime</value></constructor-arg>
</bean>
<bean id="calendarConverterRegistered" class="com.raytheon.uf.common.util.ConvertUtil" factory-method="registerConverter">
<constructor-arg><bean class="com.raytheon.uf.common.time.util.CalendarConverter"/></constructor-arg>
<constructor-arg><value>java.util.Calendar</value></constructor-arg>
</bean>
<bean id="dateConverterRegistered" class="com.raytheon.uf.common.util.ConvertUtil" factory-method="registerConverter">
<constructor-arg><bean class="com.raytheon.uf.common.time.util.DateConverter"/></constructor-arg>
<constructor-arg><value>java.util.Date</value></constructor-arg>
</bean>
<bean id="commonTimeRegistered" class="java.lang.String" depends-on="dataTimeConverterRegistered, calendarConverterRegistered, dateConverterRegistered"/>
</beans>