类 PlatformCallbackPostProcessor
java.lang.Object
com.iplatform.base.callback.PlatformCallbackPostProcessor
- 所有已实现的接口:
org.springframework.beans.factory.config.BeanPostProcessor
public class PlatformCallbackPostProcessor
extends Object
implements org.springframework.beans.factory.config.BeanPostProcessor
应用程序后处理器 - 回调接口的处理,启动扫描所有配置的实现类。
同时可以使用该对象的静态方法获取某个bean。
- 作者:
- shikeying
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static final <T> TgetCallbackMultipleBean(Class<T> callbackBean) 根据给定bean实现类型,返回具体的回调对象。static final <T> TgetCallbackObject(Class<T> callbackClass) 返回给定的回调实现bean,如果不存在返回null返回系统收集到的SystemController对象集合。postProcessAfterInitialization(Object bean, String beanName) postProcessBeforeInitialization(Object bean, String beanName)
-
字段详细资料
-
logger
protected final transient org.slf4j.Logger logger
-
-
构造器详细资料
-
PlatformCallbackPostProcessor
public PlatformCallbackPostProcessor()
-
-
方法详细资料
-
postProcessAfterInitialization
public Object postProcessAfterInitialization(Object bean, String beanName) throws org.springframework.beans.BeansException - 指定者:
postProcessAfterInitialization在接口中org.springframework.beans.factory.config.BeanPostProcessor- 抛出:
org.springframework.beans.BeansException
-
postProcessBeforeInitialization
public Object postProcessBeforeInitialization(Object bean, String beanName) throws org.springframework.beans.BeansException - 指定者:
postProcessBeforeInitialization在接口中org.springframework.beans.factory.config.BeanPostProcessor- 抛出:
org.springframework.beans.BeansException
-
getCallbackObject
返回给定的回调实现bean,如果不存在返回null- 参数:
callbackClass- 如: PlatformUserCallback.class- 返回:
-
getCallbackMultipleBean
根据给定bean实现类型,返回具体的回调对象。 例如: PlatformLoginCallback会存在多个实现。- 类型参数:
T-- 参数:
callbackBean- 给定的类型,如: WebLoginCallback.class- 返回:
-
getSystemControllerList
返回系统收集到的SystemController对象集合。- 返回:
-