com.baidu.driver4j.bns.spring
类 BNSCallbackProxyBean

java.lang.Object
  继承者 com.baidu.driver4j.bns.BNSCallbackProxy
      继承者 com.baidu.driver4j.bns.spring.BNSCallbackProxyBean
所有已实现的接口:
Runnable, org.springframework.beans.factory.Aware, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware

public class BNSCallbackProxyBean
extends BNSCallbackProxy
implements org.springframework.context.ApplicationContextAware, org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean

A auto register support bean for BNSCallbackProxy. default autoRegister is true, it will auto search all BNSCallback type class in the container and
do register to the BNSCallbackProxy

从以下版本开始:
1.0.0
作者:
xiemalin
另请参见:
BNSCallback, BNSCallbackProxy

构造方法摘要
BNSCallbackProxyBean()
           
 
方法摘要
 void afterPropertiesSet()
           
 void destroy()
           
protected  Map<String,BNSCallback> getCallbackMapping()
           
 void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
           
 void setAutoRegister(boolean autoRegister)
          setter method for property autoRegister
 
从类 com.baidu.driver4j.bns.BNSCallbackProxy 继承的方法
register, run, setInstanceQuery, setInterval, setOverrideExist, start, stop, unRegister, unRegisterAll
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

BNSCallbackProxyBean

public BNSCallbackProxyBean()
方法详细信息

destroy

public void destroy()
             throws Exception
指定者:
接口 org.springframework.beans.factory.DisposableBean 中的 destroy
抛出:
Exception

afterPropertiesSet

public void afterPropertiesSet()
                        throws Exception
指定者:
接口 org.springframework.beans.factory.InitializingBean 中的 afterPropertiesSet
抛出:
Exception

setApplicationContext

public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
                           throws org.springframework.beans.BeansException
指定者:
接口 org.springframework.context.ApplicationContextAware 中的 setApplicationContext
抛出:
org.springframework.beans.BeansException

setAutoRegister

public void setAutoRegister(boolean autoRegister)
setter method for property autoRegister

参数:
autoRegister - the autoRegister to set

getCallbackMapping

protected Map<String,BNSCallback> getCallbackMapping()
覆盖:
BNSCallbackProxy 中的 getCallbackMapping


Copyright © 2016. All rights reserved.