PageRenderTime 18ms CodeModel.GetById 9ms app.highlight 4ms RepoModel.GetById 1ms app.codeStats 1ms

/protocols/ss7/sgw/boot/src/main/config/sgw-beans.xml

http://mobicents.googlecode.com/
XML | 84 lines | 69 code | 15 blank | 0 comment | 0 complexity | d3504e67e9cb685a2334159949d76b18 MD5 | raw file
 1<?xml version="1.0" encoding="UTF-8"?>
 2<deployment xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 3	xmlns="urn:jboss:bean-deployer:2.0">
 4
 5	<bean name="LinksetFactoryFactory"
 6		class="org.mobicents.ss7.linkset.oam.LinksetFactoryFactory">
 7		<incallback method="addFactory" />
 8		<uncallback method="removeFactory" />
 9	</bean>
10
11	<bean name="DahdiLinksetFactory"
12		class="org.mobicents.ss7.hardware.dahdi.oam.DahdiLinksetFactory">
13	</bean>
14
15	<bean name="DialogicLinksetFactory"
16		class="org.mobicents.ss7.hardware.dialogic.oam.DialogicLinksetFactory">
17	</bean>
18
19	<bean name="LinksetManager"
20		class="org.mobicents.ss7.linkset.oam.LinksetManager">
21
22		<property name="linksetFactoryFactory">
23			<inject bean="LinksetFactoryFactory" />
24		</property>
25		<property name="persistDir">${linkset.persist.dir}</property>
26	</bean>
27
28	<bean name="LinksetExecutor"
29		class="org.mobicents.ss7.linkset.oam.LinksetExecutor">
30		<property name="linksetManager">
31			<inject bean="LinksetManager" />
32		</property>
33	</bean>
34
35	<bean name="SgpImpl"
36		class="org.mobicents.protocols.ss7.m3ua.impl.sg.SgpImpl">
37		<constructor>
38			<parameter>${sgw.bind.address}</parameter>
39			<parameter>3434</parameter>
40		</constructor>
41	</bean>
42
43	<bean name="M3UAShellExecutor"
44		class="org.mobicents.protocols.ss7.m3ua.impl.oam.M3UAShellExecutor">
45		<property name="sgp">
46			<inject bean="SgpImpl" />
47		</property>
48	</bean>
49
50	<bean name="ShellExecutor"
51		class="org.mobicents.ss7.sgw.ShellExecutor">
52		<property name="address">${sgw.bind.address}</property>
53		<property name="port">3436</property>
54		<property name="linksetExecutor">
55			<inject bean="LinksetExecutor" />
56		</property>
57		<property name="m3UAShellExecutor">
58			<inject bean="M3UAShellExecutor" />
59		</property>
60	</bean>
61
62	<bean name="NodalInterworkingFunction" class="org.mobicents.ss7.sgw.NodalInterworkingFunction">
63		<property name="linksetManager">
64			<inject bean="LinksetManager" />
65		</property>
66		<property name="sgpImpl">
67			<inject bean="SgpImpl" />
68		</property>
69	</bean>
70
71
72	<bean name="SignalingGateway"
73		class="org.mobicents.ss7.sgw.SignalingGateway">
74
75		<property name="shellExecutor">
76			<inject bean="ShellExecutor" />
77		</property>
78
79		<property name="nodalInterworkingFunction">
80			<inject bean="NodalInterworkingFunction" />
81		</property>
82
83	</bean>
84</deployment>