@Singleton public class ClasspathScannerService extends Object
ClasspathScanner
.Constructor and Description |
---|
ClasspathScannerService(MagnoliaConfigurationProperties mcp,
javax.servlet.ServletContext servletContext) |
Modifier and Type | Method and Description |
---|---|
boolean |
isEnabled() |
void |
start() |
void |
stop() |
void |
watch(com.google.common.base.Predicate<String> resourcesFilter,
com.google.common.base.Predicate<? super URL> urlsFilter,
com.google.common.base.Function<String,Void> callbackFunction)
Sets up observation of classpath resource changes.
|
@Inject public ClasspathScannerService(MagnoliaConfigurationProperties mcp, javax.servlet.ServletContext servletContext) throws IOException
IOException
public void start()
public boolean isEnabled()
public void watch(com.google.common.base.Predicate<String> resourcesFilter, com.google.common.base.Predicate<? super URL> urlsFilter, com.google.common.base.Function<String,Void> callbackFunction)
public void stop()
Copyright © 2003–2015 Magnolia International Ltd.. All rights reserved.