public interface ResourceBasedServiceRegistryDao extends ServiceRegistryDao
ResourceBasedServiceRegistryDao
,
which describes operations relevant to a service registry
that is backed by file-system resources.Modifier and Type | Method and Description |
---|---|
<T extends java.nio.file.Watchable> |
getWatchableResource()
Gets the watchable resource.
|
RegisteredService |
load(java.io.File file)
Load registered service from the given file.
|
void |
update(RegisteredService service)
Update a single service instance.
|
delete, findServiceById, load, save, size
<T extends java.nio.file.Watchable> T getWatchableResource()
T
- the type parametervoid update(RegisteredService service)
service
- the serviceRegisteredService load(java.io.File file)
file
- the file