[jboss-cvs] JBossAS SVN: r110346 - in trunk/server/src/etc/conf: default/bootstrap and 1 other directory.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Thu Jan 13 03:28:36 EST 2011
Author: jaikiran
Date: 2011-01-13 03:28:35 -0500 (Thu, 13 Jan 2011)
New Revision: 110346
Modified:
trunk/server/src/etc/conf/all/bootstrap/profile.xml
trunk/server/src/etc/conf/default/bootstrap/profile.xml
Log:
JBAS-8796 Add the ScanPeriod MC bean for controlling hot deployment scanner interval
Modified: trunk/server/src/etc/conf/all/bootstrap/profile.xml
===================================================================
--- trunk/server/src/etc/conf/all/bootstrap/profile.xml 2011-01-13 08:11:11 UTC (rev 110345)
+++ trunk/server/src/etc/conf/all/bootstrap/profile.xml 2011-01-13 08:28:35 UTC (rev 110346)
@@ -40,8 +40,14 @@
</list>
</property>
<property name="attachmentStoreRoot">${jboss.server.data.dir}/attachments</property>
+ <property name="scanPeriod"><inject bean="ScanPeriod"/></property>
</bean>
+ <!-- The scan period in seconds -->
+ <bean name="ScanPeriod" class="org.jboss.profileservice.profile.metadata.plugin.ScanPeriod">
+ <property name="scanPeriod">5</property>
+ </bean>
+
<!-- The profile service configuration -->
<bean name="ProfileServiceConfig" class="org.jboss.profileservice.config.ProfileServiceConfig">
<property name="deployerRegistry"><inject bean="ProfileDeployerPluginRegistry" /></property>
Modified: trunk/server/src/etc/conf/default/bootstrap/profile.xml
===================================================================
--- trunk/server/src/etc/conf/default/bootstrap/profile.xml 2011-01-13 08:11:11 UTC (rev 110345)
+++ trunk/server/src/etc/conf/default/bootstrap/profile.xml 2011-01-13 08:28:35 UTC (rev 110346)
@@ -30,8 +30,15 @@
</list>
</property>
<property name="attachmentStoreRoot">${jboss.server.data.dir}/attachments</property>
+ <property name="scanPeriod"><inject bean="ScanPeriod"/></property>
</bean>
+ <!-- The scan period in seconds -->
+ <bean name="ScanPeriod" class="org.jboss.profileservice.profile.metadata.plugin.ScanPeriod">
+ <property name="scanPeriod">5</property>
+ </bean>
+
+
<!-- The profile service configuration -->
<bean name="ProfileServiceConfig" class="org.jboss.profileservice.config.ProfileServiceConfig">
<property name="deployerRegistry"><inject bean="ProfileDeployerPluginRegistry" /></property>
More information about the jboss-cvs-commits
mailing list