public abstract class AbstractIOWatchService extends Object implements org.uberfire.io.IOWatchService, Filter<WatchEvent<?>>
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
isDisposed |
| Constructor and Description |
|---|
AbstractIOWatchService() |
| Modifier and Type | Method and Description |
|---|---|
void |
addWatchService(FileSystem fs,
WatchService ws) |
void |
configureOnEvent(org.uberfire.commons.services.cdi.ApplicationStarted applicationStartedEvent) |
protected void |
dispose() |
protected IOWatchServiceExecutor |
getWatchServiceExecutor() |
boolean |
hasWatchService(FileSystem fs) |
void |
start() |
public void start()
@PreDestroy protected void dispose()
public boolean hasWatchService(FileSystem fs)
hasWatchService in interface org.uberfire.io.IOWatchServicepublic void addWatchService(FileSystem fs, WatchService ws)
addWatchService in interface org.uberfire.io.IOWatchServicepublic void configureOnEvent(@Observes
org.uberfire.commons.services.cdi.ApplicationStarted applicationStartedEvent)
protected IOWatchServiceExecutor getWatchServiceExecutor()
Copyright © 2012–2017 JBoss by Red Hat. All rights reserved.