pull service实际为template注入对象,类似velocity-toolbox,只不过这个命名让人以为是跟消息相关...
xml对象定义
<services:pull>
<pull-factories:utils />
<pull-factories:rundata-tool />
<pull-factories:csrfToken />
<pull-factories:form-tool />
<pull-factories:control-tool />
<pull-factories:uris-tool />
</services:pull>
附模板对象:
[
{
"name": "stringEscapeUtil",
"qualifiedName": "/utils/stringEscapeUtil"
},
{
"name": "utils",
"qualifiedName": "/utils/utils"
},
{
"name": "localeUtil",
"qualifiedName": "/utils/localeUtil"
},
{
"name": "control",
"qualifiedName": "/control"
},
{
"name": "rundata",
"qualifiedName": "/rundata"
},
{
"name": "arrayUtil",
"qualifiedName": "/utils/arrayUtil"
},
{
"name": "csrfToken",
"qualifiedName": "/csrfToken"
},
{
"name": "objectUtil",
"qualifiedName": "/utils/objectUtil"
},
{
"name": "app1Content",
"qualifiedName": "/uris/app1Content"
},
{
"name": "mathUtil",
"qualifiedName": "/utils/mathUtil"
},
{
"name": "classUtil",
"qualifiedName": "/utils/classUtil"
},
{
"name": "app1Link",
"qualifiedName": "/uris/app1Link"
},
{
"name": "stringUtil",
"qualifiedName": "/utils/stringUtil"
},
{
"name": "classLoaderUtil",
"qualifiedName": "/utils/classLoaderUtil"
},
{
"name": "exceptionUtil",
"qualifiedName": "/utils/exceptionUtil"
},
{
"name": "form",
"qualifiedName": "/form"
},
{
"name": "streamUtil",
"qualifiedName": "/utils/streamUtil"
},
{
"name": "uris",
"qualifiedName": "/uris"
},
{
"name": "messageUtil",
"qualifiedName": "/utils/messageUtil"
},
{
"name": "systemUtil",
"qualifiedName": "/utils/systemUtil"
},
{
"name": "fileUtil",
"qualifiedName": "/utils/fileUtil"
}
]
网友评论