Class RegionConnectorNameExtension
java.lang.Object
energy.eddie.spring.regionconnector.extensions.RegionConnectorNameExtension
- All Implemented Interfaces:
org.springframework.beans.factory.config.BeanPostProcessor
public class RegionConnectorNameExtension
extends Object
implements org.springframework.beans.factory.config.BeanPostProcessor
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionRegionConnectorNameExtension(org.springframework.beans.factory.support.DefaultListableBeanFactory beanFactory) ThisBeanPostProcessorextracts the value ofRegionConnector.name(), creates a String bean for the value, and registers this bean in the context of the region connector. -
Method Summary
Modifier and TypeMethodDescriptionpostProcessBeforeInitialization(Object bean, String unusedBeanName) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.beans.factory.config.BeanPostProcessor
postProcessAfterInitialization
-
Field Details
-
REGION_CONNECTOR_NAME_BEAN_NAME
- See Also:
-
-
Constructor Details
-
RegionConnectorNameExtension
public RegionConnectorNameExtension(org.springframework.beans.factory.support.DefaultListableBeanFactory beanFactory) ThisBeanPostProcessorextracts the value ofRegionConnector.name(), creates a String bean for the value, and registers this bean in the context of the region connector.The bean will be registered with the name "regionConnectorName".
- Parameters:
beanFactory- BeanFactory used by this context.
-
-
Method Details
-
postProcessBeforeInitialization
- Specified by:
postProcessBeforeInitializationin interfaceorg.springframework.beans.factory.config.BeanPostProcessor
-