org.granite.client.tide.spring
Class SpringContextManager

java.lang.Object
  extended by org.granite.client.tide.impl.SimpleContextManager
      extended by org.granite.client.tide.spring.SpringContextManager
All Implemented Interfaces:
ContextManager, Aware, BeanFactoryPostProcessor, BeanPostProcessor, ApplicationContextAware

public class SpringContextManager
extends SimpleContextManager
implements ApplicationContextAware, BeanPostProcessor, BeanFactoryPostProcessor

Author:
William DRAI

Nested Class Summary
 
Nested classes/interfaces inherited from class org.granite.client.tide.impl.SimpleContextManager
SimpleContextManager.DefaultInstanceStoreFactory
 
Field Summary
 
Fields inherited from class org.granite.client.tide.impl.SimpleContextManager
CONTEXT_CREATE, CONTEXT_DESTROY, eventBus, platform
 
Constructor Summary
SpringContextManager(Platform platform)
           
SpringContextManager(Platform platform, EventBus eventBus)
           
 
Method Summary
 Object postProcessAfterInitialization(Object instance, String name)
           
 void postProcessBeanFactory(ConfigurableListableBeanFactory beanFactory)
           
 Object postProcessBeforeInitialization(Object instance, String name)
           
 void setApplicationContext(ApplicationContext applicationContext)
           
 
Methods inherited from class org.granite.client.tide.impl.SimpleContextManager
addToContextsToDestroy, createContext, destroyContext, destroyContexts, destroyFinishedContexts, getAllContexts, getContext, getContext, getContext, isGlobal, newContext, removeFromContextsToDestroy, retrieveContext, setBeanManager, setInstanceStoreFactory, updateContextId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpringContextManager

public SpringContextManager(Platform platform)

SpringContextManager

public SpringContextManager(Platform platform,
                            EventBus eventBus)
Method Detail

setApplicationContext

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

postProcessBeforeInitialization

public Object postProcessBeforeInitialization(Object instance,
                                              String name)
                                       throws BeansException
Specified by:
postProcessBeforeInitialization in interface BeanPostProcessor
Throws:
BeansException

postProcessAfterInitialization

public Object postProcessAfterInitialization(Object instance,
                                             String name)
                                      throws BeansException
Specified by:
postProcessAfterInitialization in interface BeanPostProcessor
Throws:
BeansException

postProcessBeanFactory

public void postProcessBeanFactory(ConfigurableListableBeanFactory beanFactory)
                            throws BeansException
Specified by:
postProcessBeanFactory in interface BeanFactoryPostProcessor
Throws:
BeansException