public class CommandProcessor extends AbstractConfiguration implements ApplicationProcessor
开发人员: renhui
开发时间: 2013-11-18
applicationConfig, componentConfig, LOGGERDEFAULT_PRECEDENCE, HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE| Constructor and Description |
|---|
CommandProcessor() |
| Modifier and Type | Method and Description |
|---|---|
String |
getApplicationNodePath()
获取在application.xml中配置对象的相对路径
|
String |
getComponentConfigPath()
返回该配置对象组件配置的相对路径,相对于classpath的路径。
|
int |
getOrder()
Return the order value of this object, with a
higher value meaning greater in terms of sorting.
|
void |
init()
应用程序处理器初始化方法
|
void |
setApplication(Application application)
设置本应用处理器所属的应用程序
|
void |
start()
应用程序处理器开启方法
|
void |
stop()
应用程序处理器关闭方法
|
config, getApplicationConfig, getComponentConfigclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconfig, getApplicationConfig, getComponentConfigpublic String getApplicationNodePath()
ConfigurationgetApplicationNodePath in interface Configurationpublic String getComponentConfigPath()
ConfigurationgetComponentConfigPath in interface Configurationpublic void start()
ApplicationProcessorstart in interface ApplicationProcessorpublic void init()
ApplicationProcessorinit in interface ApplicationProcessorpublic void stop()
ApplicationProcessorstop in interface ApplicationProcessorpublic void setApplication(Application application)
ApplicationProcessorsetApplication in interface ApplicationProcessorpublic int getOrder()
OrderedNormally starting with 0 or 1, with Ordered.LOWEST_PRECEDENCE
indicating greatest. Same order values will result in arbitrary
positions for the affected objects.
Higher value can be interpreted as lower priority, consequently the first object has highest priority (somewhat analogous to Servlet "load-on-startup" values).
Note that order values below 0 are reserved for framework purposes. Application-specified values should always be 0 or greater, with only framework components (internal or third-party) supposed to use lower values.
getOrder in interface OrderedOrdered.LOWEST_PRECEDENCECopyright © 2006–2018 TinyGroup. All rights reserved.