Revision: 15a2cc88f64e
Author:   [email protected] <[email protected]>
Date:     Sun Aug 26 10:31:02 2012
Log: Fixed dependencies in pojo.xml and modified jboss-beans.xml to shuffle
bean's order
http://code.google.com/p/jss7/source/detail?r=15a2cc88f64e

Modified:
 /service/src/main/assembly/pojo.xml
 /service/src/main/config/jboss-beans.xml

=======================================
--- /service/src/main/assembly/pojo.xml Wed Aug  8 04:55:15 2012
+++ /service/src/main/assembly/pojo.xml Sun Aug 26 10:31:02 2012
@@ -48,7 +48,7 @@
                                
<include>org.mobicents.protocols.ss7.mtp:mtp</include>
                                
<include>org.mobicents.protocols.ss7.mtp:mtp-api</include>
                                
<include>org.mobicents.protocols.ss7.scheduler:scheduler</include>
-                               
<include>org.mobicents.protocols.ss7.management:linkset</include>
+                               
<include>org.mobicents.protocols.ss7.hardware:linkset</include>
                                
<include>org.mobicents.protocols.ss7.management:shell</include>
<!-- <include>org.mobicents.protocols.ss7.hardware:mobicents-dahdi</include> --> <include>org.mobicents.protocols.ss7.hardware:mobicents-dialogic</include>
=======================================
--- /service/src/main/config/jboss-beans.xml    Fri Aug 24 04:14:37 2012
+++ /service/src/main/config/jboss-beans.xml    Sun Aug 26 10:31:02 2012
@@ -2,7 +2,21 @@
 <deployment xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
        xmlns="urn:jboss:bean-deployer:2.0">

+ <!-- ==================================================================== -->
+       <!-- MTP3 Properties -->
+       <!-- Define MTP3 routing label Format -->
+ <!-- ==================================================================== --> + <bean name="RoutingLabelFormat" class="org.mobicents.protocols.ss7.mtp.RoutingLabelFormat"> + <constructor factoryClass="org.mobicents.protocols.ss7.mtp.RoutingLabelFormat"
+                       factoryMethod="getInstance">
+                       <parameter>ITU</parameter>
+               </constructor>
+       </bean>

+ <!-- ==================================================================== -->
+       <!-- SCTP Properties -->
+       <!-- Used by M3UA layer -->
+ <!-- ==================================================================== --> <bean name="SCTPManagement" class="org.mobicents.protocols.sctp.ManagementImpl">
                <constructor>
                        <parameter>SCTPManagement</parameter>
@@ -19,16 +33,6 @@
                </property>
        </bean>

- <!-- ==================================================================== -->
-       <!-- MTP3 Properties -->
-       <!-- Define MTP3 PointCode Format -->
- <!-- ==================================================================== --> - <bean name="RoutingLabelFormat" class="org.mobicents.protocols.ss7.mtp.RoutingLabelFormat"> - <constructor factoryClass="org.mobicents.protocols.ss7.mtp.RoutingLabelFormat" factoryMethod="getInstance">
-                       <parameter>ITU</parameter>
-               </constructor>
-       </bean>
-
<!-- ==================================================================== -->
        <!-- M3UA -->
        <!-- M3UAManagement is managing the m3ua side commands -->
@@ -39,8 +43,12 @@
                        <parameter>Mtp3UserPart</parameter>
                </constructor>
                <property name="persistDir">${jboss.server.data.dir}</property>
- <property name="transportManagement"><inject bean="SCTPManagement" /></property> - <property name="routingLabelFormat"><inject bean="RoutingLabelFormat" /></property>
+               <property name="transportManagement">
+                       <inject bean="SCTPManagement" />
+               </property>
+               <property name="routingLabelFormat">
+                       <inject bean="RoutingLabelFormat" />
+               </property>
        </bean>

        <bean name="M3UAShellExecutor"
@@ -67,10 +75,15 @@
<!-- ==================================================================== -->
        <!-- Dialogic Mtp3UserPart -->
<!-- ==================================================================== --> - <!-- <bean name="Mtp3UserPart" class="org.mobicents.ss7.hardware.dialogic.DialogicMtp3UserPart"> - <property name="sourceModuleId">61</property> <property name="destinationModuleId">34</property>
-               </bean> -->
-
+       <!--
+ <bean name="Mtp3UserPart" class="org.mobicents.ss7.hardware.dialogic.DialogicMtp3UserPart">
+               <property name="sourceModuleId">61</property>
+               <property name="destinationModuleId">34</property>
+               <property name="routingLabelFormat">
+                       <inject bean="RoutingLabelFormat" />
+               </property>
+       </bean>
+       -->
<!-- ==================================================================== -->
        <!-- SCCP Service -->
<!-- ==================================================================== -->
@@ -198,7 +211,9 @@
        <!-- Mobicents SS7 Service -->
<!-- ==================================================================== -->
        <bean name="MAPSS7Service" class="org.mobicents.ss7.SS7Service">
-               <constructor><parameter>MAP</parameter></constructor>
+               <constructor>
+                       <parameter>MAP</parameter>
+               </constructor>
<annotation>@org.jboss.aop.microcontainer.aspects.jmx.JMX(name="org.mobicents.ss7:service=MAPSS7Service",exposedInterface=org.mobicents.ss7.SS7ServiceMBean.class,registerDirectly=true)
                </annotation>
                <property name="jndiName">java:/mobicents/ss7/map</property>
@@ -207,7 +222,9 @@
                </property>
        </bean>
        <bean name="CAPSS7Service" class="org.mobicents.ss7.SS7Service">
-               <constructor><parameter>CAP</parameter></constructor>
+               <constructor>
+                       <parameter>CAP</parameter>
+               </constructor>
<annotation>@org.jboss.aop.microcontainer.aspects.jmx.JMX(name="org.mobicents.ss7:service=CAPSS7Service",exposedInterface=org.mobicents.ss7.SS7ServiceMBean.class,registerDirectly=true)
                </annotation>
                <property name="jndiName">java:/mobicents/ss7/cap</property>
@@ -216,7 +233,9 @@
                </property>
        </bean>
        <bean name="ISUPSS7Service" class="org.mobicents.ss7.SS7Service">
-               <constructor><parameter>ISUP</parameter></constructor>
+               <constructor>
+                       <parameter>ISUP</parameter>
+               </constructor>
<annotation>@org.jboss.aop.microcontainer.aspects.jmx.JMX(name="org.mobicents.ss7:service=ISUPSS7Service",exposedInterface=org.mobicents.ss7.SS7ServiceMBean.class,registerDirectly=true)
                </annotation>
                <property name="jndiName">java:/mobicents/ss7/isup</property>

Reply via email to