psdi.iface.router

Class IfaceTableHandler

  • All Implemented Interfaces:
    RouterHandler


    public class IfaceTableHandler
    extends BaseRouterHandler
    Writes data into interface tables for a given interface and for a given connection pool JNDI Name. Before using this class, one has make sure that interface tables exist for that interface name. This Class Implements RouterHandler Interface.
    • Constructor Detail

      • IfaceTableHandler

        public IfaceTableHandler(MaxEndPointInfo endPointInfo)
      • IfaceTableHandler

        public IfaceTableHandler()
    • Method Detail

      • invoke

        public byte[] invoke(java.util.Map metaData,
                             byte[] data)
                      throws MXException
        Writes data for a given interface name. This sendData method looks for a property CONNECTIONPOOL (JNDI name) and its value for a given external system from the MAXEXTSYSHANDLER table.
        Specified by:
        invoke in interface RouterHandler
        Overrides:
        invoke in class BaseRouterHandler
        Parameters:
        data - the xml transaction in byte array
        Returns:
        the Bidi transformed data to be collected and used by the descendant classes
        Throws:
        MXException - if there's a problem in writing data to queue.
        See Also:
        RouterHandler.invoke(java.util.Map, byte[])
      • getProperties

        public java.util.List getProperties()
        Returns:
        the List of supported properties.