This content has been marked as final.
Show 1 reply
-
1. Re: How HDScanner detects updated deployments
jaikiran Oct 7, 2009 3:12 PM (in response to vickyk)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.