public class FactoryInjector extends Object implements BeanPostProcessor
BridgeFactory
beans into bean properties of type FactoryAccessor
.Constructor and Description |
---|
FactoryInjector() |
Modifier and Type | Method and Description |
---|---|
Object |
postProcessAfterInitialization(Object bean,
String beanName) |
Object |
postProcessBeforeInitialization(Object bean,
String beanName) |
void |
setRegistry(BridgeHeadTypeRegistry registry)
Sets the registry that maps types to bridge factories.
|
public Object postProcessBeforeInitialization(Object bean, String beanName) throws BeansException
postProcessBeforeInitialization
in interface BeanPostProcessor
BeansException
public Object postProcessAfterInitialization(Object bean, String beanName) throws BeansException
postProcessAfterInitialization
in interface BeanPostProcessor
BeansException
public void setRegistry(BridgeHeadTypeRegistry registry)
registry
- The registry to useCopyright © 2013. All Rights Reserved.