GigaSpaces - Open Spaces

org.openspaces.remoting
Class RemotingAnnotationBeanPostProcessor

java.lang.Object
  extended by org.springframework.beans.factory.config.InstantiationAwareBeanPostProcessorAdapter
      extended by org.openspaces.remoting.RemotingAnnotationBeanPostProcessor
All Implemented Interfaces:
BeanPostProcessor, InstantiationAwareBeanPostProcessor, SmartInstantiationAwareBeanPostProcessor, ApplicationContextAware

public class RemotingAnnotationBeanPostProcessor
extends InstantiationAwareBeanPostProcessorAdapter
implements ApplicationContextAware

Author:
kimchy

Constructor Summary
RemotingAnnotationBeanPostProcessor()
           
 
Method Summary
protected  Object createByClassOrFindByName(String name, Class clazz)
           
protected  GigaSpace findGigaSpaceByName(String gsName)
           
 boolean postProcessAfterInstantiation(Object bean, String beanName)
           
 void setApplicationContext(ApplicationContext applicationContext)
           
 
Methods inherited from class org.springframework.beans.factory.config.InstantiationAwareBeanPostProcessorAdapter
determineCandidateConstructors, getEarlyBeanReference, postProcessAfterInitialization, postProcessBeforeInitialization, postProcessBeforeInstantiation, postProcessPropertyValues, predictBeanType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemotingAnnotationBeanPostProcessor

public RemotingAnnotationBeanPostProcessor()
Method Detail

setApplicationContext

public void setApplicationContext(ApplicationContext applicationContext)
                           throws BeansException
Specified by:
setApplicationContext in interface ApplicationContextAware
Throws:
BeansException

postProcessAfterInstantiation

public boolean postProcessAfterInstantiation(Object bean,
                                             String beanName)
                                      throws BeansException
Specified by:
postProcessAfterInstantiation in interface InstantiationAwareBeanPostProcessor
Overrides:
postProcessAfterInstantiation in class InstantiationAwareBeanPostProcessorAdapter
Throws:
BeansException

createByClassOrFindByName

protected Object createByClassOrFindByName(String name,
                                           Class clazz)
                                    throws NoSuchBeanDefinitionException
Throws:
NoSuchBeanDefinitionException

findGigaSpaceByName

protected GigaSpace findGigaSpaceByName(String gsName)
                                 throws NoSuchBeanDefinitionException
Throws:
NoSuchBeanDefinitionException

GigaSpaces - Open Spaces

Copyright © GigaSpaces.