public class AnnotationExecuteManagerImpl extends Object implements AnnotationExecuteManager, Configuration
Modifier and Type | Field and Description |
---|---|
protected XmlNode |
applicationConfig |
protected XmlNode |
componentConfig |
ANNOTATION_MANAGER_BEAN_NAME, XSTEAM_PACKAGE_NAME
Constructor and Description |
---|
AnnotationExecuteManagerImpl() |
Modifier and Type | Method and Description |
---|---|
void |
addAnnotationClassMatchers(AnnotationClassMatchers annotationClassMatchers)
增加annotation配置对象信息
|
void |
config(XmlNode applicationConfig,
XmlNode componentConfig)
设置配置信息,应用配置和组件配置内容合并
|
XmlNode |
getApplicationConfig()
获取应用配置信息
|
String |
getApplicationNodePath()
获取在application.xml中配置对象的相对路径
|
XmlNode |
getComponentConfig()
获取组件配置信息
|
String |
getComponentConfigPath()
返回该配置对象组件配置的相对路径,相对于classpath的路径。
|
void |
processClassFileObject(FileObject fileObject)
判断class文件是否符合注解配置文件
|
void |
removeAnnotationClassMatchers(AnnotationClassMatchers annotationClassMatchers)
移除annotation配置信息
|
protected XmlNode applicationConfig
protected XmlNode componentConfig
public void addAnnotationClassMatchers(AnnotationClassMatchers annotationClassMatchers)
AnnotationExecuteManager
addAnnotationClassMatchers
in interface AnnotationExecuteManager
public void removeAnnotationClassMatchers(AnnotationClassMatchers annotationClassMatchers)
AnnotationExecuteManager
removeAnnotationClassMatchers
in interface AnnotationExecuteManager
public void processClassFileObject(FileObject fileObject)
processClassFileObject
in interface AnnotationExecuteManager
fileObject
- public void config(XmlNode applicationConfig, XmlNode componentConfig)
Configuration
config
in interface Configuration
applicationConfig
- 应用配置节点componentConfig
- 组件配置节点public XmlNode getComponentConfig()
Configuration
getComponentConfig
in interface Configuration
public XmlNode getApplicationConfig()
Configuration
getApplicationConfig
in interface Configuration
public String getApplicationNodePath()
Configuration
getApplicationNodePath
in interface Configuration
public String getComponentConfigPath()
Configuration
getComponentConfigPath
in interface Configuration
Copyright © 2006–2018 TinyGroup. All rights reserved.