|
This document applies only to the following language
version(s):
US English |
|
Problem(Abstract) |
When is a new class file reloaded when using dynamic
reloading? |
|
|
|
Resolving the
problem |
A class is reloaded whenever:
1. Reloading is enabled, the reload interval expires and the servlet class
in question has been updated on the file system.
or
2. When the application is stopped and restarted. When the application
stops, it is also destroyed. The web container will call destroy() on the
servlet and the runtime will destroy all the classloaders on which the
application was deployed. When the application is restarted, the runtime
will recreate a set of classloaders for the application, it will then
reload the application, including the servlet. |
|
|
|
|
Cross Reference information |
Segment |
Product |
Component |
Platform |
Version |
Edition |
Application Servers |
Runtimes for Java Technology |
Java SDK |
|
|
|
|
|
|