refactor the xml
http://www.springframework.org/schema/aop/spring-aop-2.5.xsd">
- <bean id="groupChannelConnectionsConfig" class="org.fisco.bcos.channel.handler.GroupChannelConnectionsConfig">
- <property name="allChannelConnections">
- <list>
<bean id="ChannelConnections1" class="org.fisco.bcos.channel.handler.ChannelConnections">
<property name="groupId" value="1" />
<property name="connectionsStr">
</list>
</property>
</bean>
+
<bean id="ChannelConnections2" class="org.fisco.bcos.channel.handler.ChannelConnections">
<property name="groupId" value="2" />
<property name="connectionsStr">
</list>
</property>
</bean>
+
+ <bean id="groupChannelConnectionsConfig" class="org.fisco.bcos.channel.handler.GroupChannelConnectionsConfig">
+ <property name="allChannelConnections">
+ <list>
+ <ref bean="ChannelConnections1"/>
+ <ref bean="ChannelConnections2"/>
</list>
</property>
</bean>
