[jboss-dev-forums] [Design of POJO Server] - Hot deployment added to trunk

scott.stark@jboss.org do-not-reply at jboss.com
Tue Mar 6 04:55:12 EST 2007


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.


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

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



More information about the jboss-dev-forums mailing list