The Invoker XML definition uses the format of BTT ElementFactory. For more information about the rules, see BTT ElementFactory.
classTable definition is used to map the XML tag to the implementation class.
In the invokerProcessor clause, the global default configuration value can be defined. The global default configuration value can be overridden by the configuration in each specific invoker. In the Invoker Definition XML File sample in Invoker framework, the POJODefaults defined the default method name is execute. The POJO invoker with ID assert overrides the default method name with getCount. For other POJO invoker without method definition, the default value is used.
<POJO id="assert" beanName="com.ibm.btt.ut.Asset" method="getCount"> <parameters> <parameter id="input" type="java.lang.String" /> </parameters> </POJO>
The POJO tag name means it is a POJO invoker. Every invoker definition has a unique invoker ID. beanName and method are properties of the POJO invoker. Different invoker types have different invoker properties.
For POJO, EJB and WSProxy Invoker, the invoker parameters defined for each invoker ID in the XML definition are mandatory. The parameter name and type must match the actual parameters of the method of the POJO,EJB or WSProxy invoker to be invoked. Another key point is that the order of the parameter definition must match the parameter order of the invoked target. The type is Java™ primitive types or user-defined Java bean type.