Author: pferraro
Date: 2008-10-28 11:42:14 -0400 (Tue, 28 Oct 2008)
New Revision: 2011
Modified:
trunk/mod_cluster/src/main/resources/mod-cluster-jboss-beans.xml
Log:
Shorten lbf bean names
Modified: trunk/mod_cluster/src/main/resources/mod-cluster-jboss-beans.xml
===================================================================
--- trunk/mod_cluster/src/main/resources/mod-cluster-jboss-beans.xml 2008-10-28 03:44:00
UTC (rev 2010)
+++ trunk/mod_cluster/src/main/resources/mod-cluster-jboss-beans.xml 2008-10-28 15:42:14
UTC (rev 2011)
@@ -47,7 +47,7 @@
this server should take. This impl calculates load factor from a
number of metrics and adjusts the value periodically based on runtime
conditions, using to the JBossWeb engine's backgroundProcessorDelay. -->
- <bean name="DynamicModClusterLoadBalanceFactorProvider"
class="org.jboss.modcluster.load.impl.DynamicLoadBalanceFactorProvider"
mode="On Demand">
+ <bean name="DynamicLoadBalanceFactorProvider"
class="org.jboss.modcluster.load.impl.DynamicLoadBalanceFactorProvider"
mode="On Demand">
<annotation>@org.jboss.aop.microcontainer.aspects.jmx.JMX(name="jboss.web:service=LoadBalanceFactorProvider",exposedInterface=org.jboss.modcluster.load.impl.DynamicLoadBalanceFactorProviderMBean.class)</annotation>
<constructor>
<parameter>
@@ -98,7 +98,7 @@
<constructor>
<parameter><inject bean="HAPartition"/></parameter>
<parameter><inject
bean="ModClusterConfig"/></parameter>
- <parameter><inject
bean="DynamicModClusterLoadBalanceFactorProvider"/></parameter>
+ <parameter><inject
bean="DynamicLoadBalanceFactorProvider"/></parameter>
<parameter><bean
class="org.jboss.ha.singleton.HASingletonElectionPolicySimple"/></parameter>
</constructor>
</bean>
@@ -117,7 +117,7 @@
<!-- Alternative load balance factor providers -->
<!-- Basic impl that returns a static load balance factor -->
- <bean name="StaticModClusterLoadBalanceFactorProvider"
class="org.jboss.modcluster.load.impl.StaticLoadBalanceFactorProvider"
mode="On Demand">
+ <bean name="StaticLoadBalanceFactorProvider"
class="org.jboss.modcluster.load.impl.StaticLoadBalanceFactorProvider"
mode="On Demand">
<property name="loadBalanceFactor">1</property>
</bean>
@@ -125,9 +125,7 @@
<!-- CPU usage -->
<!-- Perhaps the best metric for determining system load - but only available on
Java 1.6 or later -->
- <bean name="AverageSystemLoadMetric"
- class="org.jboss.modcluster.load.metric.impl.AverageSystemLoadMetric"
- mode="On Demand">
+ <bean name="AverageSystemLoadMetric"
class="org.jboss.modcluster.load.metric.impl.AverageSystemLoadMetric"
mode="On Demand">
<annotation>@org.jboss.aop.microcontainer.aspects.jmx.JMX(name="jboss.web:service=AverageSystemLoadMetric",exposedInterface=org.jboss.modcluster.load.metric.LoadMetricMBean.class)</annotation>
<constructor>
<parameter><inject
bean="OperatingSystemLoadMetricSource"/></parameter>
@@ -135,9 +133,7 @@
</bean>
<!-- The system memory usage as ratio of used memory to total memory size -->
<!-- Requires com.sun.management.OperatingSystemMXBean -->
- <bean name="SystemMemoryUsageLoadMetric"
-
class="org.jboss.modcluster.load.metric.impl.SystemMemoryUsageLoadMetric"
- mode="On Demand">
+ <bean name="SystemMemoryUsageLoadMetric"
class="org.jboss.modcluster.load.metric.impl.SystemMemoryUsageLoadMetric"
mode="On Demand">
<annotation>@org.jboss.aop.microcontainer.aspects.jmx.JMX(name="jboss.web:service=SystemMemoryUsageLoadMetric",exposedInterface=org.jboss.modcluster.load.metric.LoadMetricMBean.class)</annotation>
<constructor>
<parameter><inject
bean="OperatingSystemLoadMetricSource"/></parameter>