[jboss-cvs] JBossAS SVN: r107357 - branches/infinispan-int/cluster/src/etc.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Tue Aug 3 12:29:26 EDT 2010


Author: pferraro
Date: 2010-08-03 12:29:25 -0400 (Tue, 03 Aug 2010)
New Revision: 107357

Modified:
   branches/infinispan-int/cluster/src/etc/hajndi-jboss-beans.xml
Log:
Update with infinispan implementations.

Modified: branches/infinispan-int/cluster/src/etc/hajndi-jboss-beans.xml
===================================================================
--- branches/infinispan-int/cluster/src/etc/hajndi-jboss-beans.xml	2010-08-03 16:25:13 UTC (rev 107356)
+++ branches/infinispan-int/cluster/src/etc/hajndi-jboss-beans.xml	2010-08-03 16:29:25 UTC (rev 107357)
@@ -8,110 +8,109 @@
 
 <deployment xmlns="urn:jboss:bean-deployer:2.0">
    
-   <bean name="HAJNDI"
-         class="org.jboss.ha.jndi.HANamingService">    
+  <bean name="HAJNDI" class="org.jboss.ha.jndi.HANamingService">    
 
-      <annotation>@org.jboss.aop.microcontainer.aspects.jmx.JMX(name="jboss:service=HAJNDI", exposedInterface=org.jboss.ha.jndi.HANamingServiceMBean.class)</annotation>
+    <annotation>@org.jboss.aop.microcontainer.aspects.jmx.JMX(name="jboss:service=HAJNDI", exposedInterface=org.jboss.ha.jndi.HANamingServiceMBean.class)</annotation>
            
       
-      <!-- The partition used for group RPCs to find locally bound objects on other nodes -->
-      <property name="HAPartition"><inject bean="HAPartition"/></property>
+    <!-- The partition used for group RPCs to find locally bound objects on other nodes -->
+    <property name="HAPartition"><inject bean="HAPartition"/></property>
+    
+    <!-- Handler for the replicated tree -->
+    <property name="distributedTreeManager">
+      <bean class="org.jboss.ha.jndi.ispn.DistributedTreeManager">
+        <property name="cacheHandler"><inject bean="HAPartitionCacheHandler"/></property>
+      </bean>
+    </property>
       
-      <!-- Handler for the replicated tree -->
-      <property name="distributedTreeManager">
-         <bean class="org.jboss.ha.jndi.impl.jbc.JBossCacheDistributedTreeManager">
-            <property name="cacheHandler"><inject bean="HAPartitionCacheHandler"/></property>
-         </bean>
-      </property>
+    <property name="localNamingInstance"><inject bean="jboss:service=NamingBeanImpl" property="namingInstance"/></property>
+    
+    <!-- The thread pool used to control the bootstrap and auto discovery lookups -->
+    <property name="lookupPool"><inject bean="ThreadPool"/></property>
+    
+    <!-- Bind address of bootstrap endpoint -->
+    <property name="bindAddress">
+      <!-- Get the interface from the ServiceBindingManager -->
+      <value-factory bean="ServiceBindingManager" method="getStringBinding">
+        <parameter>jboss:service=HAJNDI</parameter>
+        <parameter>Port</parameter>
+        <parameter><null/></parameter>
+      </value-factory>
+    </property>
+    <!-- Port on which the HA-JNDI stub is made available -->
+    <property name="port">
+      <!-- Get the port from the ServiceBindingManager -->
+      <value-factory bean="ServiceBindingManager" method="getIntBinding">
+        <parameter>jboss:service=HAJNDI</parameter>
+        <parameter>Port</parameter>
+      </value-factory>
+    </property>
       
-      <property name="localNamingInstance"><inject bean="jboss:service=NamingBeanImpl" property="namingInstance"/></property>
+    <!-- Bind address of the HA-JNDI RMI endpoint -->
+    <property name="rmiBindAddress">
+      <!-- Get the port from the ServiceBindingManager -->
+      <value-factory bean="ServiceBindingManager" method="getStringBinding">
+        <parameter>jboss:service=HAJNDI</parameter>
+        <parameter>RmiPort</parameter>
+        <parameter><null/></parameter>
+      </value-factory>
+    </property>
       
-      <!-- The thread pool used to control the bootstrap and auto discovery lookups -->
-      <property name="lookupPool"><inject bean="ThreadPool"/></property>
+    <!-- RmiPort to be used by the HA-JNDI service once bound. 0 => auto. -->
+    <property name="rmiPort">
+      <!-- Get the port from the ServiceBindingManager -->
+      <value-factory bean="ServiceBindingManager" method="getIntBinding">
+        <parameter>jboss:service=HAJNDI</parameter>
+        <parameter>RmiPort</parameter>
+      </value-factory>
+    </property>
       
-      <!-- Bind address of bootstrap endpoint -->
-      <property name="bindAddress">
-         <!-- Get the interface from the ServiceBindingManager -->
-         <value-factory bean="ServiceBindingManager" method="getStringBinding">
-            <parameter>jboss:service=HAJNDI</parameter>
-            <parameter>Port</parameter>
-            <parameter><null/></parameter>
-         </value-factory>
-      </property>
-      <!-- Port on which the HA-JNDI stub is made available -->
-      <property name="port">
-         <!-- Get the port from the ServiceBindingManager -->
-         <value-factory bean="ServiceBindingManager" method="getIntBinding">
-            <parameter>jboss:service=HAJNDI</parameter>
-            <parameter>Port</parameter>
-         </value-factory>
-      </property>
-      
-      <!-- Bind address of the HA-JNDI RMI endpoint -->
-      <property name="rmiBindAddress">
-         <!-- Get the port from the ServiceBindingManager -->
-         <value-factory bean="ServiceBindingManager" method="getStringBinding">
-            <parameter>jboss:service=HAJNDI</parameter>
-            <parameter>RmiPort</parameter>
-            <parameter><null/></parameter>
-         </value-factory>
-      </property>
-      
-      <!-- RmiPort to be used by the HA-JNDI service once bound. 0 => auto. -->
-      <property name="rmiPort">
-         <!-- Get the port from the ServiceBindingManager -->
-         <value-factory bean="ServiceBindingManager" method="getIntBinding">
-            <parameter>jboss:service=HAJNDI</parameter>
-            <parameter>RmiPort</parameter>
-         </value-factory>
-      </property>
-      
-      <!-- Accept backlog of the bootstrap socket -->
-      <property name="backlog">50</property>
+    <!-- Accept backlog of the bootstrap socket -->
+    <property name="backlog">50</property>
 
-      <!-- A flag to disable the auto discovery via multicast -->
-      <property name="discoveryDisabled">false</property>
-      <!-- Multicast Address and group port used for auto-discovery -->      
-      <property name="autoDiscoveryAddress">
-         <!-- Get the multicast address from the ServiceBindingManager -->
-         <value-factory bean="ServiceBindingManager" method="getStringBinding">
-            <parameter>jboss:service=HAJNDI</parameter>
-            <parameter>AutoDiscovery</parameter>
-            <parameter><null/></parameter>
-         </value-factory>
-      </property>      
-      <property name="autoDiscoveryGroup">
-         <!-- Get the port from the ServiceBindingManager -->
-         <value-factory bean="ServiceBindingManager" method="getIntBinding">
-            <parameter>jboss:service=HAJNDI</parameter>
-            <parameter>AutoDiscovery</parameter>
-         </value-factory>
-      </property>
-      <!-- Interface on which to listen for auto-discovery bootstrap multicasts. 
-           If not specified and a BindAddress is specified, the BindAddress will be used. -->
-      <property name="autoDiscoveryBindAddress">
-         <!-- Get the multicast address from the ServiceBindingManager -->
-         <value-factory bean="ServiceBindingManager" method="getStringBinding">
-            <parameter>jboss:service=HAJNDI</parameter>
-            <parameter>AutoDiscoveryInterface</parameter>
-            <parameter><null/></parameter>
-         </value-factory>
-      </property>
+    <!-- A flag to disable the auto discovery via multicast -->
+    <property name="discoveryDisabled">false</property>
+    <!-- Multicast Address and group port used for auto-discovery -->      
+    <property name="autoDiscoveryAddress">
+      <!-- Get the multicast address from the ServiceBindingManager -->
+      <value-factory bean="ServiceBindingManager" method="getStringBinding">
+        <parameter>jboss:service=HAJNDI</parameter>
+        <parameter>AutoDiscovery</parameter>
+        <parameter><null/></parameter>
+      </value-factory>
+    </property>      
+    <property name="autoDiscoveryGroup">
+      <!-- Get the port from the ServiceBindingManager -->
+      <value-factory bean="ServiceBindingManager" method="getIntBinding">
+        <parameter>jboss:service=HAJNDI</parameter>
+        <parameter>AutoDiscovery</parameter>
+      </value-factory>
+    </property>
+    <!-- Interface on which to listen for auto-discovery bootstrap multicasts. 
+         If not specified and a BindAddress is specified, the BindAddress will be used. -->
+    <property name="autoDiscoveryBindAddress">
+      <!-- Get the multicast address from the ServiceBindingManager -->
+      <value-factory bean="ServiceBindingManager" method="getStringBinding">
+        <parameter>jboss:service=HAJNDI</parameter>
+        <parameter>AutoDiscoveryInterface</parameter>
+        <parameter><null/></parameter>
+      </value-factory>
+    </property>
       
-      <!-- The TTL (time-to-live) for autodiscovery IP multicast packets -->
-      <property name="autoDiscoveryTTL">16</property>
-      
-      <!-- The load balancing policy for HA-JNDI -->
-      <property name="loadBalancePolicy">org.jboss.ha.framework.interfaces.RoundRobin</property>
+    <!-- The TTL (time-to-live) for autodiscovery IP multicast packets -->
+    <property name="autoDiscoveryTTL">16</property>
+    
+    <!-- The load balancing policy for HA-JNDI -->
+    <property name="loadBalancePolicy">org.jboss.ha.framework.interfaces.RoundRobin</property>
 
-      <!-- Client socket factory to be used for client-server
-           RMI invocations during JNDI queries
-      <property name="clientSocketFactory">custom</property>
-      -->
-      <!-- Server socket factory to be used for client-server
-           RMI invocations during JNDI queries
-      <property name="serverSocketFactory">custom</property>
-      -->
-   </bean>
+    <!-- Client socket factory to be used for client-server
+         RMI invocations during JNDI queries
+    <property name="clientSocketFactory">custom</property>
+    -->
+    <!-- Server socket factory to be used for client-server
+         RMI invocations during JNDI queries
+    <property name="serverSocketFactory">custom</property>
+    -->
+  </bean>
 
 </deployment>



More information about the jboss-cvs-commits mailing list