public class ClusterInfoBeanPostProcessor extends Object implements 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)
clusterInfo
- 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
Copyright © GigaSpaces.