@ManagedResource @IntegrationManagedResource public class MessageHistoryConfigurer extends Object implements SmartLifecycle, BeanFactoryAware
| Constructor and Description |
|---|
MessageHistoryConfigurer() |
| Modifier and Type | Method and Description |
|---|---|
String |
getComponentNamePatternsString() |
int |
getPhase() |
boolean |
isAutoStartup() |
boolean |
isRunning() |
void |
setBeanFactory(BeanFactory beanFactory) |
void |
setComponentNamePatterns(String[] componentNamePatterns)
The patterns for which components will be tracked; default '*' (all trackable
components).
|
void |
setComponentNamePatternsSet(Set<String> componentNamePatternsSet)
The patterns for which components will be tracked; default '*' (all trackable
components).
|
void |
setComponentNamePatternsString(String componentNamePatterns)
A comma-delimited list of patterns for which components will be tracked; default '*' (all trackable
components).
|
void |
start() |
void |
stop() |
void |
stop(Runnable callback) |
public void setComponentNamePatterns(String[] componentNamePatterns)
isRunning(); invoke stop() first.componentNamePatterns - The patterns.@ManagedAttribute(description="comma-delimited list of patterns; must invoke stop() before changing.") public void setComponentNamePatternsString(String componentNamePatterns)
isRunning(); invoke stop() first.componentNamePatterns - The patterns.@ManagedAttribute public String getComponentNamePatternsString()
public void setComponentNamePatternsSet(Set<String> componentNamePatternsSet)
isRunning(); invoke stop() first.
All members of the set must canonically represent the same patterns - allows multiple
EnableMessageHistory annotations as long they all have the same patterns.componentNamePatternsSet - A set of lists of comma-delimited patterns.public void setBeanFactory(BeanFactory beanFactory) throws BeansException
setBeanFactory in interface BeanFactoryAwareBeansExceptionpublic boolean isAutoStartup()
isAutoStartup in interface SmartLifecycle@ManagedOperation public void start()
@ManagedOperation public void stop()
public void stop(Runnable callback)
stop in interface SmartLifecycle