0 Replies Latest reply on Mar 6, 2007 4:55 AM by starksm64

    Hot deployment added to trunk

    starksm64

      Hotdeployment has been added to trunk. The HDScanner bean implements that behavior by obtaining the modified deployments from the active Profile.

       <!-- Hotdeployment of applications -->
       <bean name="HDScanner"
       class="org.jboss.system.server.profileservice.hotdeploy.HDScanner">
       <property name="mainDeployer"><inject bean="MainDeployer"/></property>
       <property name="profileService"><inject bean="ProfileService"/></property>
       <property name="scanPeriod">5000</property>
       <property name="scanThreadName">HDScanner</property>
       </bean>
      


      Note that only the root of a top-level deployment is checked for modifications. Only the DeploymentPhase.APPLICATION type of deployments are checked for modifications. This corresponds to the current deploy directory contents.

      More information about what metadata files constitute modifications, and well as allowing for subdeployment modifications with subsequent refreshing of a bundle type class loader are future todos.