Class GigaSpaceContextBeanPostProcessor

java.lang.Object
org.openspaces.core.context.GigaSpaceContextBeanPostProcessor
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.beans.factory.config.BeanPostProcessor, org.springframework.beans.factory.config.InstantiationAwareBeanPostProcessor, org.springframework.context.ApplicationContextAware

public class GigaSpaceContextBeanPostProcessor extends Object implements org.springframework.beans.factory.config.InstantiationAwareBeanPostProcessor, org.springframework.context.ApplicationContextAware
A Spring bean post processor allowing to use GigaSpaceContext in order to inject GigaSpaceContext instances using annotations.
Author:
kimchy
See Also:
  • Field Details

    • logger

      protected final org.apache.commons.logging.Log logger
  • Constructor Details

    • GigaSpaceContextBeanPostProcessor

      public GigaSpaceContextBeanPostProcessor()
  • Method Details

    • setApplicationContext

      public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
      Specified by:
      setApplicationContext in interface org.springframework.context.ApplicationContextAware
    • findGigaSpaceByName

      protected GigaSpace findGigaSpaceByName(String gsName) throws org.springframework.beans.factory.NoSuchBeanDefinitionException
      Throws:
      org.springframework.beans.factory.NoSuchBeanDefinitionException
    • postProcessAfterInstantiation

      public boolean postProcessAfterInstantiation(Object bean, String beanName) throws org.springframework.beans.BeansException
      Specified by:
      postProcessAfterInstantiation in interface org.springframework.beans.factory.config.InstantiationAwareBeanPostProcessor
      Throws:
      org.springframework.beans.BeansException