public class ConsumerLoader extends Object
| 构造器和说明 |
|---|
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
|
public static final String module
public ConsumerLoader(AnnotationScaner annotationScaner)
public void loadAnnotationConsumers(AnnotationHolder annotationHolder, AppContextWrapper context, ContainerWrapper containerWrapper)
public void createAnnotationConsumerClass(String className, AnnotationHolder annotationHolder, ContainerWrapper containerWrapper)
public void loadMehtodAnnotations(Class cclass, ContainerWrapper containerWrapper)
cclass - containerWrapper - public Collection<String> getContainerConsumers(String topicKey, ContainerWrapper containerWrapper)
protected TreeSet createNewSet()
Copyright © 2018. All rights reserved.