[jboss-dev-forums] [JBoss AS Development] - Re: How HDScanner detects updated deployments

jaikiran do-not-reply at jboss.com
Wed Oct 7 15:12:21 EDT 2009


The JBOSS_HOME/server/< servername>/conf/bootstrap/profile.xml has a DeploymentRepositoryFactory:

<!-- The default deployment repository factory -->
  | 	<bean name="DefaultDeploymentRepositoryFactory" class="org.jboss.system.server.profileservice.repository.DefaultDeploymentRepositoryFactory">
  | 		<property name="deploymentFilter"><inject bean="DeploymentFilter" /></property>
  | 		<property name="checker"><inject bean="StructureModificationChecker" /></property>
  | 	</bean>
https://anonsvn.jboss.org/repos/jbossas/branches/Branch_5_x/system/src/main/org/jboss/system/server/profileservice/repository/DefaultDeploymentRepositoryFactory.java

This creates a DeploymentRepository:

  | public DeploymentRepository createDeploymentRepository(ProfileKey key, ProfileSourceMetaData metaData)

The hotdeployment enabled repository is here https://anonsvn.jboss.org/repos/jbossas/branches/Branch_5_x/system/src/main/org/jboss/system/server/profileservice/repository/HotDeploymentRepository.java. The profile is associated with the deployment repository and that's where the call ends up when getModifiedDeployments() is invoked on the profile.


View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259245#4259245

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259245



More information about the jboss-dev-forums mailing list