Mule ESB中entry-point-resolver的使用(6) No Argument Entry Point Resolver
No Arguments Entry Point Resolver是定位Component类中的无参数方法的.Entry Point Resolver默认会忽略掉继承自Object类的notify(),toString()等方法。配置No Arguments Entry Point Resolver的代码如下 <no-arguments-entry-point-resolver acceptVoidMethods="true" /> 如果想排除掉某些方法,可以使用exclude-entry-point标签,不过这种情况下默认对Object类的方法的忽略将会失效,需要添加<exclude-object-methods />节点 <no-arguments-entry-point-resolver acceptVoidMethods="true"> <exclude-entry-point method="xxxx" /> </no-arguments-entry-point-resolver> 如果想要在指定方法中进行匹配,可以使用include-entry-point标签 <no-arguments-entry-point-resolver acceptVoidMethods="true"> <include-entry-point method="xxxx" /> </no