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

vickyk do-not-reply at jboss.com
Wed Oct 7 14:34:28 EDT 2009


I am trying to figure out how the modified deployments are updated in the MutableProfile when some of the existing deployment artifact is updated or new one is added to deploy directory.
Here is the code
https://anonsvn.jboss.org/repos/jbossas/branches/Branch_5_x/system/src/main/org/jboss/system/server/profileservice/hotdeploy/HDScanner.java
org.jboss.system.server.profileservice.hotdeploy.HDScanner::scan()


  |     MutableProfile activeProfile = (MutableProfile) profile;
  |          Collection<ModificationInfo> modifiedDeployments = activeProfile.getModifiedDeployments();

I have spend some time in going though the org.jboss.system.server.profileservice.repository.AbstractProfileService and org.jboss.system.server.profileservice.repository.ProfileContext but could not yet make out.

Any pointers?

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

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



More information about the jboss-dev-forums mailing list