1 Reply Latest reply on Oct 7, 2009 3:12 PM by jaikiran

    How HDScanner detects updated deployments

    vickyk

      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?