IBM WebSphere Multichannel Bank Transformation Toolkit, Version 7.1

POJO invoker

POJO invoker is designated to invoke the method of Plain Old Java Object.

Following is a code example

where beanName and method stand for the POJO's class and method. The parameter name input with String type is also defined.

Following is application code to invoke the POJO:
InvokerFactory ivf = new InvokerFactory("jar:///com/ibm/btt/invoker/ut/invoker.xml");
inv = ivf.createInvoker("asset");
result =  inv.execute(new Object[]{ “test input”});


Feedback