org.openspaces.core.context
Class GigaSpaceContextBeanPostProcessor
java.lang.Object
org.springframework.beans.factory.config.InstantiationAwareBeanPostProcessorAdapter
org.openspaces.core.context.GigaSpaceContextBeanPostProcessor
- All Implemented Interfaces:
- Aware, BeanPostProcessor, InstantiationAwareBeanPostProcessor, SmartInstantiationAwareBeanPostProcessor, ApplicationContextAware
public class GigaSpaceContextBeanPostProcessor
- extends InstantiationAwareBeanPostProcessorAdapter
- implements ApplicationContextAware
A Spring bean post processor allowing to use GigaSpaceContext
in order to inject
GigaSpaceContext
instances using annotations.
- Author:
- kimchy
- See Also:
GigaSpaceContext
,
GigaSpace
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected final Log logger
GigaSpaceContextBeanPostProcessor
public GigaSpaceContextBeanPostProcessor()
setApplicationContext
public void setApplicationContext(ApplicationContext applicationContext)
- Specified by:
setApplicationContext
in interface ApplicationContextAware
findGigaSpaceByName
protected GigaSpace findGigaSpaceByName(String gsName)
throws NoSuchBeanDefinitionException
- Throws:
NoSuchBeanDefinitionException
postProcessAfterInstantiation
public boolean postProcessAfterInstantiation(Object bean,
String beanName)
throws BeansException
- Specified by:
postProcessAfterInstantiation
in interface InstantiationAwareBeanPostProcessor
- Overrides:
postProcessAfterInstantiation
in class InstantiationAwareBeanPostProcessorAdapter
- Throws:
BeansException
Copyright © GigaSpaces.