|
Summary: The DeploymentSchedule element allows a deployer to specify when an application will be deployed and how long it will remain deployed.
OverviewAn application can have a schedled deployment. The DeploymentSchedule element allows a deployer to specify a time in the future when an application will be deployed and how long it will remain deployed (the deployment duration). Scheduling of an application is part of the Deployment Descriptor itself, the schedule itself is an optional declarative attribute, and if not declared the application will be deployed immediately. The application is scheduled as part of the Deployment Descriptor element. An example of a Schedule follows: <DeploymentSchedule> <DeployDate DayOfWeek="Thursday" Hour="8" Minute="30" Format="PM"/> <Duration Minutes="30"/> <Repeats Count="10"> <Interval Days="1" Hours="1" Minutes="1"/> </Repeats> </DeploymentSchedule> This DeploymentSchedule produces the following:
Once the DeploymentSchedule element is parsed, a Schedule object is created and set to the enclosing deployment descriptor. Once the application is deployed, the Schedule is consulted to determine the semantics of when to optionally schedule the application deployment. RELATED TOPICS |
Wiki Content Tree
Your Feedback Needed!
We need your help to improve this wiki site. If you have any suggestions or corrections, write to us at techw@gigaspaces.com. Please provide a link to the wiki page you are referring to.
Add Comment