public class ClusterInfoBeanPostProcessor extends Object implements org.springframework.beans.factory.config.BeanPostProcessor
BeanPostProcessor
that takes a ClusterInfo
and injects it to all the
beans that implements ClusterInfoAware
interface and to those that contain a field that
has the annotation ClusterInfoContext
}.Constructor and Description |
---|
ClusterInfoBeanPostProcessor(ClusterInfo clusterInfo)
Constructs a new cluster info bean post processor based on the provided cluster info.
|
Modifier and Type | Method and Description |
---|---|
Object |
postProcessAfterInitialization(Object bean,
String beanName) |
Object |
postProcessBeforeInitialization(Object bean,
String beanName) |
public ClusterInfoBeanPostProcessor(ClusterInfo clusterInfo)
public Object postProcessBeforeInitialization(Object bean, String beanName) throws org.springframework.beans.BeansException
postProcessBeforeInitialization
in interface org.springframework.beans.factory.config.BeanPostProcessor
org.springframework.beans.BeansException
public Object postProcessAfterInitialization(Object bean, String beanName) throws org.springframework.beans.BeansException
postProcessAfterInitialization
in interface org.springframework.beans.factory.config.BeanPostProcessor
org.springframework.beans.BeansException
Copyright © GigaSpaces.