⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 namespacehandler.vm

📁 提供ESB 应用mule源代码 提供ESB 应用mule源代码
💻 VM
字号:
/* * Generated by the Mule project wizard. http://mule.mulesource.org * * The software in this package is published under the terms of the CPAL v1.0 * license, a copy of which has been included with this distribution in the * LICENSE.txt file. */package ${groupId}.${ModuleNameLower}.config;import org.mule.config.spring.parsers.generic.OrphanDefinitionParser;import org.springframework.beans.factory.xml.NamespaceHandlerSupport;/** * Registers a Bean Definition Parser for handling elements defned in META-INF/mule-${ModuleNameLower}.xsd * */public class ${ModuleName}NamespaceHandler extends NamespaceHandlerSupport{    public void init()    {        //TODO you need to register a definition parser for each element defined in META-INF/mule-${ModuleNameLower}.xsd        //Mule provides many parsrs out of the box which are suitable for most configuration parsing. see        //http://muledocs.org/Xml+Configuration for more information.        //for example:        //    registerBeanDefinitionParser("foo", new OrphanDefinitionParser(${ModuleName}Foo.class, true));    }}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -