IBM® WebSphere® Multichannel Bank Transformation Toolkit provides an abstract channel policy handler, com.ibm.btt.channel.AbstractChannelPolicy, to handle policy in the channel level.
The doCheck method in the AbstractChannelPolicy class provides a default implementation to use the defined rule service to do channel level policy management. Technical developers can override the method as needed.
com.ibm.btt.channel.PolicyResult is the return type of the processResult method. It includes the execution result of policy check. If the policy check has been passed, the WebSphere Multichannel Bank Transformation Toolkit channel provider will continue the request processing. Otherwise, the WebSphere Multichannel Bank Transformation Toolkitchannel driver will throw the com.ibm.btt.channel.ChannelPolicyException exception. The messages in PolicyResult are used to keep the messages generated during the rule check.