io.leopard.data4j.pubsub
Class PubSubBeanPostProcessor

java.lang.Object
  extended by io.leopard.data4j.pubsub.PubSubBeanPostProcessor
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.config.BeanPostProcessor

public class PubSubBeanPostProcessor
extends java.lang.Object
implements org.springframework.beans.factory.config.BeanPostProcessor, org.springframework.beans.factory.BeanFactoryAware


Field Summary
protected  org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory
           
 
Constructor Summary
PubSubBeanPostProcessor()
           
 
Method Summary
protected  Redis findRedis()
           
protected  Redis findRedisBySessionRedis()
           
protected  Redis getRedis()
           
 java.lang.Object postProcessAfterInitialization(java.lang.Object bean, java.lang.String beanName)
           
 java.lang.Object postProcessBeforeInitialization(java.lang.Object bean, java.lang.String beanName)
           
 void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

beanFactory

protected org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory
Constructor Detail

PubSubBeanPostProcessor

public PubSubBeanPostProcessor()
Method Detail

setBeanFactory

public void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
                    throws org.springframework.beans.BeansException
Specified by:
setBeanFactory in interface org.springframework.beans.factory.BeanFactoryAware
Throws:
org.springframework.beans.BeansException

getRedis

protected Redis getRedis()

findRedis

protected Redis findRedis()

findRedisBySessionRedis

protected Redis findRedisBySessionRedis()

postProcessBeforeInitialization

public java.lang.Object postProcessBeforeInitialization(java.lang.Object bean,
                                                        java.lang.String beanName)
                                                 throws org.springframework.beans.BeansException
Specified by:
postProcessBeforeInitialization in interface org.springframework.beans.factory.config.BeanPostProcessor
Throws:
org.springframework.beans.BeansException

postProcessAfterInitialization

public java.lang.Object postProcessAfterInitialization(java.lang.Object bean,
                                                       java.lang.String beanName)
                                                throws org.springframework.beans.BeansException
Specified by:
postProcessAfterInitialization in interface org.springframework.beans.factory.config.BeanPostProcessor
Throws:
org.springframework.beans.BeansException


Copyright © 2014-2015. All Rights Reserved.