public abstract class AbstractBeanIdBasedRegistry<T> extends Object implements org.springframework.beans.factory.config.BeanPostProcessor
| Constructor and Description |
|---|
AbstractBeanIdBasedRegistry() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract Map<String,T> |
createRegistry() |
T |
get(String id) |
protected abstract String |
getBeanNameIdPrefix() |
protected abstract Class<T> |
getRegistryType() |
void |
init() |
Object |
postProcessAfterInitialization(Object bean,
String beanName) |
Object |
postProcessBeforeInitialization(Object bean,
String beanName) |
protected void |
register(String id,
T obj) |
@PostConstruct public void init()
public Object postProcessBeforeInitialization(Object bean, String beanName) throws org.springframework.beans.BeansException
postProcessBeforeInitialization in interface org.springframework.beans.factory.config.BeanPostProcessororg.springframework.beans.BeansExceptionpublic Object postProcessAfterInitialization(Object bean, String beanName) throws org.springframework.beans.BeansException
postProcessAfterInitialization in interface org.springframework.beans.factory.config.BeanPostProcessororg.springframework.beans.BeansExceptionprotected abstract String getBeanNameIdPrefix()
Copyright © 2018 CrafterCMS. All rights reserved.