Class App
- java.lang.Object
-
- org.glassfish.jersey.examples.reload.App
-
public class App extends Object
Reload example application. Acontainer listenergets registered with the application. Upon application startup notification, the listener schedules a newtimer taskto check a text file calledresourcesevery 2 seconds. When the text file change is detected, the application gets reloaded with a newresource configurationincluding all resource classes listed in that file.- Author:
- Jakub Podlesak
-
-
Field Summary
Fields Modifier and Type Field Description static StringCONFIG_FILENAMEstatic StringROOT_PATHstatic StringSRC_MAIN_JAVA
-
Constructor Summary
Constructors Constructor Description App()
-
-
-
Field Detail
-
ROOT_PATH
public static final String ROOT_PATH
- See Also:
- Constant Field Values
-
CONFIG_FILENAME
public static final String CONFIG_FILENAME
- See Also:
- Constant Field Values
-
SRC_MAIN_JAVA
public static final String SRC_MAIN_JAVA
- See Also:
- Constant Field Values
-
-