[jboss-cvs] JBossAS SVN: r94129 - projects/docs/community/5/Clustering_Guide/en-US.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Tue Sep 29 18:17:48 EDT 2009
Author: bstansberry at jboss.com
Date: 2009-09-29 18:17:48 -0400 (Tue, 29 Sep 2009)
New Revision: 94129
Modified:
projects/docs/community/5/Clustering_Guide/en-US/Clustering_Guide_JNDI.xml
Log:
Make stuff fit on PDF
Modified: projects/docs/community/5/Clustering_Guide/en-US/Clustering_Guide_JNDI.xml
===================================================================
--- projects/docs/community/5/Clustering_Guide/en-US/Clustering_Guide_JNDI.xml 2009-09-29 22:05:16 UTC (rev 94128)
+++ projects/docs/community/5/Clustering_Guide/en-US/Clustering_Guide_JNDI.xml 2009-09-29 22:17:48 UTC (rev 94129)
@@ -484,75 +484,76 @@
<programlisting><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(...)</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.impl.jbc.JBossCacheDistributedTreeManager">
- <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>
+ <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="jboss.system:service=ThreadPool"/></property>
+ <!-- The thread pool used to control the bootstrap and auto discovery lookups -->
+ <property name="lookupPool"><inject bean="jboss.system:service=ThreadPool"/></property>
- <!-- Bind address of bootstrap endpoint -->
- <property name="bindAddress">${jboss.bind.address}</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 bootstrap endpoint -->
+ <property name="bindAddress">${jboss.bind.address}</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">${jboss.bind.address}</property>
+ <!-- Bind address of the HA-JNDI RMI endpoint -->
+ <property name="rmiBindAddress">${jboss.bind.address}</property>
- <!-- RmiPort to be used by the HA-JNDI service once bound. 0 = ephemeral. -->
- <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>
+ <!-- RmiPort to be used by the HA-JNDI service once bound. 0 = ephemeral. -->
+ <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>
- <!-- Set the auto-discovery bootstrap multicast bind address. If not
- specified and a BindAddress is specified, the BindAddress will be used. -->
- <property name="autoDiscoveryBindAddress">${jboss.bind.address}</property>
- <!-- Multicast Address and group port used for auto-discovery -->
- <property name="autoDiscoveryAddress">${jboss.partition.udpGroup:230.0.0.4}</property>
- <property name="autoDiscoveryGroup">1102</property>
- <!-- The TTL (time-to-live) for autodiscovery IP multicast packets -->
- <property name="autoDiscoveryTTL">16</property>
+ <!-- A flag to disable the auto discovery via multicast -->
+ <property name="discoveryDisabled">false</property>
+ <!-- Set the auto-discovery bootstrap multicast bind address. If not
+ specified and a BindAddress is specified, the BindAddress will be used. -->
+ <property name="autoDiscoveryBindAddress">${jboss.bind.address}</property>
+ <!-- Multicast Address and group port used for auto-discovery -->
+ <property name="autoDiscoveryAddress">${jboss.partition.udpGroup:230.0.0.4}</property>
+ <property name="autoDiscoveryGroup">1102</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 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></programlisting>
+ <!-- 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></programlisting>
<para>You can see that this bean has a number of other services injected
into different properties:
@@ -690,50 +691,42 @@
that do not vary from the standard deployments are omitted):
</para>
-<programlisting>
- <-- Cache Handler for secondary HAPartition -->
- <bean name="SecondaryHAPartitionCacheHandler"
+<programlisting><-- Cache Handler for secondary HAPartition -->
+<bean name="SecondaryHAPartitionCacheHandler"
class="org.jboss.ha.framework.server.HAPartitionCacheHandlerImpl">
- <property name="cacheManager"><inject bean="CacheManager"/></property>
- <property name="cacheConfigName">secondary-ha-partition</property>
- </bean>
+ <property name="cacheManager"><inject bean="CacheManager"/></property>
+ <property name="cacheConfigName">secondary-ha-partition</property>
+</bean>
- <-- The secondary HAPartition -->
- <bean name="SecondaryHAPartition" class="org.jboss.ha.framework.server.ClusterPartition">
-
- <depends>jboss:service=Naming</depends>
+<-- The secondary HAPartition -->
+<bean name="SecondaryHAPartition" class="org.jboss.ha.framework.server.ClusterPartition">
+ <depends>jboss:service=Naming</depends>
- <annotation>@org.jboss.aop.microcontainer.aspects.jmx.JMX(name="jboss:service=HAPartition,partition=SecondaryPartition",
- exposedInterface=org.jboss.ha.framework.server.ClusterPartitionMBean.class, registerDirectly=true)</annotation>
-
- <property name="cacheHandler"><inject bean="SecondaryHAPartitionCacheHandler"/></property>
-
- <property name="partitionName">SecondaryPartition</property>
+ <property name="cacheHandler">
+ <inject bean="SecondaryHAPartitionCacheHandler"/>
+ </property>
+ <property name="partitionName">SecondaryPartition</property>
- ....
- </bean>
+ ....
+</bean>
- <bean name="MySpecialPartitionHAJNDI" class="org.jboss.ha.jndi.HANamingService">
-
- <annotation>@org.jboss.aop.microcontainer.aspects.jmx.JMX(name="jboss:service=HAJNDI,partitionName=SecondaryPartition",
- exposedInterface=org.jboss.ha.jndi.HANamingServiceMBean.class)</annotation>
+<bean name="MySpecialPartitionHAJNDI" class="org.jboss.ha.jndi.HANamingService">
+ <property name="HAPartition"><inject bean="SecondaryHAPartition"/></property>
- <property name="HAPartition"><inject bean="SecondaryHAPartition"/></property>
-
- <property name="distributedTreeManager">
- <bean class="org.jboss.ha.jndi.impl.jbc.JBossCacheDistributedTreeManager">
- <property name="cacheHandler"><inject bean="SecondaryHAPartitionPartitionCacheHandler"/></property>
- </bean>
+ <property name="distributedTreeManager">
+ <bean class="org.jboss.ha.jndi.impl.jbc.JBossCacheDistributedTreeManager">
+ <property name="cacheHandler">
+ <inject bean="SecondaryHAPartitionPartitionCacheHandler"/>
</property>
+ </bean>
+ </property>
- <property name="port">56789</property>
+ <property name="port">56789</property>
+ <property name="rmiPort">56790</property>
+ <property name="autoDiscoveryGroup">56791</property>
- <property name="rmiPort">56790</property>
-
- <property name="autoDiscoveryGroup">56791</property>
-
- .....
- </bean></programlisting>
+ .....
+</bean></programlisting>
</section>
</section>
More information about the jboss-cvs-commits
mailing list