psdi.iface.router

Class EJBHandler

  • All Implemented Interfaces:
    RouterHandler


    public class EJBHandler
    extends BaseRouterHandler
    This handler handles EJB invocation. It supports invocation of EJB hosted in any kind of J2EE based server. Needs to get the parameter info of the method to be invokeed from EJBExit implementation. This Class Implements RouterHandler Interface.
    • Constructor Detail

      • EJBHandler

        public EJBHandler()
    • Method Detail

      • invoke

        public byte[] invoke(java.util.Map metaData,
                             byte[] data)
                      throws MXException
        Sends data to a given url which is specified in 'destinationMap' HashMap. The destinationName interfaceName may not be used in this Handler. But it may be used in other handler.
        Specified by:
        invoke in interface RouterHandler
        Overrides:
        invoke in class BaseRouterHandler
        Parameters:
        metaData - meta data for the endpoint for this invocation
        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 opening the connection, writing to the connection, reading from the connection
        See Also:
        RouterHandler.invoke(java.util.Map, byte[])
      • getProperties

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