Class App
java.lang.Object
org.glassfish.jersey.examples.reload.App
Reload example application.
A
container listener gets registered
with the application. Upon application startup notification, the listener schedules
a new timer task to check a text file called resources
every 2 seconds. When the text file change is detected, the application gets reloaded with
a new resource configuration including all
resource classes listed in that file.- Author:
- Jakub Podlesak
-
Field Details
-
ROOT_PATH
- See Also:
-
CONFIG_FILENAME
- See Also:
-
SRC_MAIN_JAVA
- See Also:
-
-
Constructor Details
-
App
public App()
-
-
Method Details
-
main
- Throws:
Exception
-