webMethods 10.2 | Service Development Help | Properties | Package Properties | Package Startup/Shutdown Services
 
Package Startup/Shutdown Services
You use the Startup/Shutdown Services page of the Properties dialog box to add or remove the services that you want webMethods Integration Server to automatically execute when it loads or unloads a package into or from memory.
To open this page, click the package in the Package Navigator of Designer and select File > Properties > Startup/Shutdown Services.
Property
Description
Startup services
Displays the list of services that can be used as startup services and the list of assigned startup services in the package. A startup service is one that the webMethods Integration Server automatically executes when it loads a package into memory. Startup services are useful for generating initialization files or assessing and preparing (for example, setting up or cleaning up) the environment before the server loads a package. However, you can use a startup service for any purpose. For example, you might want to execute a time-consuming service at startup so that its cached result is immediately available to client applications.
Tip: If a startup service invokes a service in another package, make sure to identify the other package as a package dependency for the package containing the startup service.
Available services
Displays a list of the services that can be used as startup services for the package. Any service in the package can be a startup service. After you select a service as a startup service, the service does not appear in the Available services list.
Selected services
Displays the startup services for the package.
You use the following buttons under Startup services to add and remove startup services.
Use this button...
To...
Add the service selected in Available services as a startup service for the package.
Remove the service selected in Selected services as a start up service for the package.
Shutdown services
Displays the list of services that can be used as shutdown services and the list of assigned shutdown services in the package. A shutdown service is one that the webMethods Integration Server automatically executes when it unloads a package from memory. Shutdown services are useful for executing clean-up tasks such as closing files and purging temporary data. You could also use them to capture work-in-progress or state information before a package unloads.
Available services
Displays a list of the services that can be used as shutdown services for the package. Any service in the package can be a shutdown service. After you designate a service as a shutdown service, the service does not appear in the Available services list.
Selected services
Displays the shutdown services for the package.
You use the following buttons under Shutdown services to add and remove startup services.
Use this button...
To...
Add the service selected in Available services as a shutdown service for the package.
Remove the service selected in Selected services as a shutdown service for the package.

Copyright © 2017-2018 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.
Innovation Release