DevPortal

What are Server Startup Hooks?


Server Hooks provide a way in which you can get callbacks for specific server lifecycle events. They are used in cases where you want to perform certain tasks/synchronize with Server lifecycle events. Startup Hooks are used to synchronize with server lifecycle events. The Deploy Service is used to maintain these hooks.

Server Hooks can be used in the following scenarios:

A class name entry below would mean that the class is to be used as a startup hook.

<startup-hooks>
  <!--<class-name><class-name>-->
<startup-hooks>

Refer to the interface com.pramati.services.j2ee.spi.StartupHook for more details.


Related Topics:

© Pramati Technologies 2007 Runs on Pramati Server | Feedback | Legal