java.lang.Object
org.glassfish.jersey.examples.reload.App

public class App extends Object
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