IBM WebSphere Multichannel Bank Transformation Toolkit, Version 7.1

How bean property converter works

The following process describes how the toolkit uses bean property converter:

  1. When the application starts, initialization manager reads file btt.xml to initialize all of the components, which include settings, trace, data, format, context, operation, processor, service, invoker, and others.
  2. When the application reads the settings component, the toolkit initializes the bean property converters one by one according to the beanPropertyConverters tag.
  3. When the application reads bean property converter, the toolkit find the class type and corresponding converter according to “id” and “value” attributes and register them.
  4. When the application set value into bean collection's attribute with string value, the toolkit check the register list and invoke the corresponding converter to perform the conversion from string value to the non-string value.
  5. For Java primitive types, the toolkit supports conversion between string and Java primitive types without any additional actions. Customer can convert Java primitive directly and transparently without developing and configuring Java primitive type converters.


Feedback