com.jdon.container.annotation.type
类 ConsumerLoader

java.lang.Object
  继承者 com.jdon.container.annotation.type.ConsumerLoader

public class ConsumerLoader
extends Object


字段摘要
static String module
           
static String TOPICNAME
           
static String TOPICNAME2
           
 
构造方法摘要
ConsumerLoader(AnnotationScaner annotationScaner)
           
 
方法摘要
 void createAnnotationConsumerClass(String className, AnnotationHolder annotationHolder, ContainerWrapper containerWrapper)
           
protected  TreeSet createNewSet()
           
protected  String getConsumerName(Class cclass)
           
 Collection<String> getContainerConsumers(String topicKey, ContainerWrapper containerWrapper)
           
 Boolean implementsInterface(Class cclass, Class interf)
           
 void loadAnnotationConsumers(AnnotationHolder annotationHolder, AppContextWrapper context, ContainerWrapper containerWrapper)
           
 void loadMehtodAnnotations(Class cclass, ContainerWrapper containerWrapper)
          add the class to consumers annotated with @OnEvent
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

字段详细信息

module

public static final String module

TOPICNAME

public static final String TOPICNAME
另请参见:
常量字段值

TOPICNAME2

public static final String TOPICNAME2
另请参见:
常量字段值
构造方法详细信息

ConsumerLoader

public ConsumerLoader(AnnotationScaner annotationScaner)
方法详细信息

loadAnnotationConsumers

public void loadAnnotationConsumers(AnnotationHolder annotationHolder,
                                    AppContextWrapper context,
                                    ContainerWrapper containerWrapper)

createAnnotationConsumerClass

public void createAnnotationConsumerClass(String className,
                                          AnnotationHolder annotationHolder,
                                          ContainerWrapper containerWrapper)

loadMehtodAnnotations

public void loadMehtodAnnotations(Class cclass,
                                  ContainerWrapper containerWrapper)
add the class to consumers annotated with @OnEvent

参数:
cclass -
containerWrapper -

getContainerConsumers

public Collection<String> getContainerConsumers(String topicKey,
                                                ContainerWrapper containerWrapper)

createNewSet

protected TreeSet createNewSet()

implementsInterface

public Boolean implementsInterface(Class cclass,
                                   Class interf)

getConsumerName

protected String getConsumerName(Class cclass)


Copyright © 2013. All Rights Reserved.