public class WatcherSpringContextFacade extends io.hawt.util.MBeanSupport implements WatcherSpringContextFacadeMXBean
WatcherSpringContext as well as natural hawtio configuration for it| Constructor and Description |
|---|
WatcherSpringContextFacade() |
| Modifier and Type | Method and Description |
|---|---|
Map<String,String[]> |
beanDefinitionNameMap() |
void |
destroy() |
Integer |
getBeanDefinitionCount() |
protected String |
getDefaultObjectName() |
SortedSet<String> |
getLocations() |
File |
getRootPath() |
io.fabric8.watcher.spring.context.WatcherSpringContext |
getWatcher() |
void |
init() |
void |
setRootPath(File rootPath) |
void |
setWatcher(io.fabric8.watcher.spring.context.WatcherSpringContext watcher) |
io.fabric8.watcher.spring.context.WatcherSpringContext |
watcher()
Returns the watcher, throwing an exception if its not configured properly
|
public void init()
throws Exception
init in class io.hawt.util.MBeanSupportExceptionpublic void destroy()
throws Exception
destroy in class io.hawt.util.MBeanSupportExceptionpublic io.fabric8.watcher.spring.context.WatcherSpringContext watcher()
public SortedSet<String> getLocations()
getLocations in interface WatcherSpringContextFacadeMXBeanpublic Map<String,String[]> beanDefinitionNameMap()
beanDefinitionNameMap in interface WatcherSpringContextFacadeMXBeanpublic Integer getBeanDefinitionCount()
getBeanDefinitionCount in interface WatcherSpringContextFacadeMXBeanpublic File getRootPath()
public void setRootPath(File rootPath)
public io.fabric8.watcher.spring.context.WatcherSpringContext getWatcher()
public void setWatcher(io.fabric8.watcher.spring.context.WatcherSpringContext watcher)
protected String getDefaultObjectName()
getDefaultObjectName in class io.hawt.util.MBeanSupportCopyright © 2020 JBoss by Red Hat. All rights reserved.