List of usage examples for org.springframework.boot.devtools.restart Restarter addClassLoaderFiles
public void addClassLoaderFiles(ClassLoaderFiles classLoaderFiles)
From source file:org.springframework.boot.devtools.restart.server.RestartServer.java
/** * Called to restart the application.//from w w w . j av a 2 s . c om * @param urls the updated URLs * @param files the updated files */ protected void restart(Set<URL> urls, ClassLoaderFiles files) { Restarter restarter = Restarter.getInstance(); restarter.addUrls(urls); restarter.addClassLoaderFiles(files); restarter.restart(); }