GigaSpaces XAP 7.0 API

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, Ordered

public class RemotingAnnotationBeanPostProcessor
extends InstantiationAwareBeanPostProcessorAdapter
implements ApplicationContextAware, Ordered

Author:
kimchy

Field Summary
 
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
 
Constructor Summary
RemotingAnnotationBeanPostProcessor()
           
 
Method Summary
protected  Object createByClassOrFindByName(String name, Class clazz)
           
protected  GigaSpace findGigaSpaceByName(String gsName)
           
 int getOrder()
           
 Object postProcessAfterInitialization(Object bean, String beanName)
           
 boolean postProcessAfterInstantiation(Object bean, String beanName)
           
 void setApplicationContext(ApplicationContext applicationContext)
           
 void setOrder(int order)
           
 
Methods inherited from class org.springframework.beans.factory.config.InstantiationAwareBeanPostProcessorAdapter
determineCandidateConstructors, getEarlyBeanReference, 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

getOrder

public int getOrder()
Specified by:
getOrder in interface Ordered

setOrder

public void setOrder(int order)

postProcessAfterInitialization

public Object postProcessAfterInitialization(Object bean,
                                             String beanName)
                                      throws BeansException
Specified by:
postProcessAfterInitialization in interface BeanPostProcessor
Overrides:
postProcessAfterInitialization in class InstantiationAwareBeanPostProcessorAdapter
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 XAP 7.0 API

Copyright © GigaSpaces.