public class WatcherBlueprintContainer
extends io.fabric8.watcher.file.FileWatcher
FileWatcher which finds OSGi Blueprint XML files
using the given file patterns and loads them up and starts them automatically| Modifier and Type | Field and Description |
|---|---|
static String |
BLUEPRINT_NAMESPACE_URI |
| Constructor and Description |
|---|
WatcherBlueprintContainer() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addPath(Path path) |
protected void |
closeContainer(URL url,
org.osgi.service.blueprint.container.BlueprintContainer container) |
protected org.osgi.service.blueprint.container.BlueprintContainer |
createContainer(Path path,
URL url) |
void |
destroy() |
ClassLoader |
getClassLoader() |
org.osgi.service.blueprint.container.BlueprintContainer |
getContainer(URL url) |
Set<URL> |
getContainerURLs() |
org.osgi.service.blueprint.container.BlueprintContainer |
getParentContainer() |
Map<String,String> |
getProperties() |
void |
init() |
protected void |
removePath(Path path) |
void |
setClassLoader(ClassLoader classLoader) |
void |
setParentContainer(org.osgi.service.blueprint.container.BlueprintContainer parentContainer) |
void |
setProperties(Map<String,String> properties) |
protected URL |
toUrl(Path path) |
fail, getDirMatcher, getExecutor, getFileMatcher, getFileSystem, getLastModified, getRoot, getWatcher, isMatchesFile, isWatch, setDirMatcher, setDirMatchPattern, setExecutor, setFileMatcher, setFileMatchPattern, setRoot, setRootDirectory, setRootPath, setWatch, setWatcherpublic static final String BLUEPRINT_NAMESPACE_URI
public void init()
throws IOException
init in class io.fabric8.watcher.file.FileWatcherIOExceptionpublic void destroy()
destroy in class io.fabric8.watcher.file.FileWatcherpublic org.osgi.service.blueprint.container.BlueprintContainer getContainer(URL url)
public ClassLoader getClassLoader()
public void setClassLoader(ClassLoader classLoader)
public org.osgi.service.blueprint.container.BlueprintContainer getParentContainer()
public void setParentContainer(org.osgi.service.blueprint.container.BlueprintContainer parentContainer)
protected void addPath(Path path)
protected void removePath(Path path)
protected org.osgi.service.blueprint.container.BlueprintContainer createContainer(Path path, URL url) throws Exception
Exceptionprotected void closeContainer(URL url, org.osgi.service.blueprint.container.BlueprintContainer container)
Copyright © 2011–2014 Red Hat. All rights reserved.