awips2/edexOsgi/com.raytheon.uf.edex.registry.ebxml/res/spring/ebxml-impl.xml
2022-05-05 12:34:50 -05:00

55 lines
2.2 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.xsd">
<bean id="edexRegistryManagerFactory"
class="com.raytheon.uf.edex.registry.ebxml.util.EDEXRegistryManagerFactory">
<property name="queryManager" ref="queryServiceImpl" />
<property name="lifecycleManager" ref="lcmServiceImpl" />
</bean>
<bean id="registryHandler"
class="com.raytheon.uf.common.registry.ebxml.FactoryRegistryHandler">
<property name="lcmFactory" ref="edexRegistryManagerFactory" />
<property name="queryFactory" ref="edexRegistryManagerFactory" />
<property name="encoderStrategy" ref="registryEncoder" />
</bean>
<bean id="edexRegistryManager"
class="com.raytheon.uf.edex.registry.ebxml.util.EDEXRegistryManager">
<property name="registryHandler" ref="registryHandler" />
</bean>
<bean id="registryEncoderType"
class="com.raytheon.uf.common.registry.ebxml.encoder.RegistryEncoders$Type"
factory-method="valueOf">
<constructor-arg value="JAXB" />
</bean>
<bean id="registryEncoder"
class="com.raytheon.uf.common.registry.ebxml.encoder.RegistryEncoders"
factory-method="ofType">
<constructor-arg ref="registryEncoderType" />
</bean>
<bean id="RegistryGarbageCollector"
class="com.raytheon.uf.edex.registry.ebxml.services.RegistryGarbageCollector">
<constructor-arg ref="AuditableEventTypeDao" />
<constructor-arg ref="slotTypeDao"/>
</bean>
<!-- Util to get the IDS of the Registry server nodes -->
<bean id="registryIdUtil"
class="com.raytheon.uf.edex.registry.ebxml.util.RegistryIdUtil">
<constructor-arg ref="registryObjectDao" />
</bean>
<bean id="registryUsers" class="com.raytheon.uf.edex.registry.ebxml.RegistryUsers">
<property name="personDao" ref="personDao"/>
<property name="roleDao" ref="roleDao"/>
<property name="lcm" ref="lcmServiceImpl"/>
<property name="securityConfig" ref="securityConfiguration"/>
</bean>
</beans>