public class DevModeBeanInitialisationLoggerBeanPostProcessor extends Object implements org.springframework.beans.factory.config.InstantiationAwareBeanPostProcessor, org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.config.DestructionAwareBeanPostProcessor, org.springframework.beans.factory.DisposableBean
| Modifier and Type | Field and Description |
|---|---|
static String |
ATLASSIAN_DEV_MODE
Setting this system property to
"true" enables per-bundle WARN logging by this class. |
| Constructor and Description |
|---|
DevModeBeanInitialisationLoggerBeanPostProcessor(org.osgi.framework.BundleContext bundleContext) |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
void |
destroy() |
Object |
postProcessAfterInitialization(Object bean,
String beanName) |
boolean |
postProcessAfterInstantiation(Object bean,
String beanName) |
void |
postProcessBeforeDestruction(Object bean,
String beanName) |
Object |
postProcessBeforeInitialization(Object bean,
String beanName) |
Object |
postProcessBeforeInstantiation(Class beanClass,
String beanName) |
org.springframework.beans.PropertyValues |
postProcessPropertyValues(org.springframework.beans.PropertyValues pvs,
PropertyDescriptor[] pds,
Object bean,
String beanName) |
public static final String ATLASSIAN_DEV_MODE
"true" enables per-bundle WARN logging by this class.
Developers who are not interested in the loading/unloading of a given bundle can set that bundle's
spring scanner logging to ERROR.public DevModeBeanInitialisationLoggerBeanPostProcessor(org.osgi.framework.BundleContext bundleContext)
public Object postProcessBeforeInitialization(Object bean, String beanName)
postProcessBeforeInitialization in interface org.springframework.beans.factory.config.BeanPostProcessorpublic Object postProcessAfterInitialization(Object bean, String beanName)
postProcessAfterInitialization in interface org.springframework.beans.factory.config.BeanPostProcessorpublic Object postProcessBeforeInstantiation(Class beanClass, String beanName)
postProcessBeforeInstantiation in interface org.springframework.beans.factory.config.InstantiationAwareBeanPostProcessorpublic boolean postProcessAfterInstantiation(Object bean, String beanName)
postProcessAfterInstantiation in interface org.springframework.beans.factory.config.InstantiationAwareBeanPostProcessorpublic org.springframework.beans.PropertyValues postProcessPropertyValues(org.springframework.beans.PropertyValues pvs,
PropertyDescriptor[] pds,
Object bean,
String beanName)
postProcessPropertyValues in interface org.springframework.beans.factory.config.InstantiationAwareBeanPostProcessorpublic void postProcessBeforeDestruction(Object bean, String beanName) throws org.springframework.beans.BeansException
postProcessBeforeDestruction in interface org.springframework.beans.factory.config.DestructionAwareBeanPostProcessororg.springframework.beans.BeansExceptionpublic void afterPropertiesSet()
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanpublic void destroy()
destroy in interface org.springframework.beans.factory.DisposableBeanCopyright © 2019 Atlassian. All rights reserved.