@ManagedResource @IntegrationManagedResource public class MessageHistoryConfigurer extends java.lang.Object implements org.springframework.context.SmartLifecycle, org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.config.DestructionAwareBeanPostProcessor
| Constructor and Description |
|---|
MessageHistoryConfigurer() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getComponentNamePatternsString() |
int |
getPhase() |
boolean |
isAutoStartup() |
boolean |
isRunning() |
void |
postProcessBeforeDestruction(java.lang.Object bean,
java.lang.String beanName) |
java.lang.Object |
postProcessBeforeInitialization(java.lang.Object bean,
java.lang.String beanName) |
boolean |
requiresDestruction(java.lang.Object bean) |
void |
setAutoStartup(boolean autoStartup) |
void |
setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory) |
void |
setComponentNamePatterns(java.lang.String[] componentNamePatterns)
The patterns for which components will be tracked; default '*' (all trackable
components).
|
void |
setComponentNamePatternsSet(java.util.Set<java.lang.String> componentNamePatternsSet)
The patterns for which components will be tracked; default '*' (all trackable
components).
|
void |
setComponentNamePatternsString(java.lang.String componentNamePatterns)
A comma-delimited list of patterns for which components will be tracked; default '*' (all trackable
components).
|
void |
setPhase(int phase) |
void |
start() |
void |
stop() |
void |
stop(java.lang.Runnable callback) |
public void setComponentNamePatterns(java.lang.String[] componentNamePatterns)
isRunning(); invoke stop() first.componentNamePatterns - The patterns.@ManagedAttribute(description="comma-delimited list of patterns; must invoke stop() before changing.") public void setComponentNamePatternsString(java.lang.String componentNamePatterns)
isRunning(); invoke stop() first.componentNamePatterns - The patterns.@ManagedAttribute public java.lang.String getComponentNamePatternsString()
public void setComponentNamePatternsSet(java.util.Set<java.lang.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(org.springframework.beans.factory.BeanFactory beanFactory)
throws org.springframework.beans.BeansException
setBeanFactory in interface org.springframework.beans.factory.BeanFactoryAwareorg.springframework.beans.BeansExceptionpublic java.lang.Object postProcessBeforeInitialization(java.lang.Object bean,
java.lang.String beanName)
throws org.springframework.beans.BeansException
postProcessBeforeInitialization in interface org.springframework.beans.factory.config.BeanPostProcessororg.springframework.beans.BeansExceptionpublic boolean requiresDestruction(java.lang.Object bean)
requiresDestruction in interface org.springframework.beans.factory.config.DestructionAwareBeanPostProcessorpublic void postProcessBeforeDestruction(java.lang.Object bean,
java.lang.String beanName)
throws org.springframework.beans.BeansException
postProcessBeforeDestruction in interface org.springframework.beans.factory.config.DestructionAwareBeanPostProcessororg.springframework.beans.BeansExceptionpublic boolean isRunning()
isRunning in interface org.springframework.context.Lifecyclepublic void setAutoStartup(boolean autoStartup)
public boolean isAutoStartup()
isAutoStartup in interface org.springframework.context.SmartLifecyclepublic void setPhase(int phase)
public int getPhase()
getPhase in interface org.springframework.context.PhasedgetPhase in interface org.springframework.context.SmartLifecycle@ManagedOperation public void start()
start in interface org.springframework.context.Lifecycle@ManagedOperation public void stop()
stop in interface org.springframework.context.Lifecyclepublic void stop(java.lang.Runnable callback)
stop in interface org.springframework.context.SmartLifecycle