public abstract class AbstractAnnotationServiceLoader extends Object implements AnnotationServiceLoader
| Constructor and Description |
|---|
AbstractAnnotationServiceLoader() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract List<String> |
getClassNames() |
protected Object |
getServiceInstance(Class<?> clazz) |
void |
loadService(Class<?> clazz,
Annotation annotation,
ServiceRegistry serviceRegistry)
从AnnotationClassAction接入,新增注解服务
|
void |
loadService(ServiceRegistry serviceRegistry,
ClassLoader classLoader)
载入服务
|
void |
removeService(ServiceRegistry serviceRegistry,
ClassLoader classLoader) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetConfigPathpublic void loadService(ServiceRegistry serviceRegistry, ClassLoader classLoader) throws ServiceLoadException
loadService in interface ServiceLoaderServiceLoadExceptionpublic void loadService(Class<?> clazz, Annotation annotation, ServiceRegistry serviceRegistry)
loadService in interface AnnotationServiceLoaderclazz - annotation - serviceRegistry - public void removeService(ServiceRegistry serviceRegistry, ClassLoader classLoader)
removeService in interface ServiceLoaderCopyright © 2006–2018 TinyGroup. All rights reserved.