Sun Adapter for File API

com.stc.connector.fileadapter.eway
Interface FileListener


public interface FileListener

MDB Listener interface for File eWay


Method Summary
 void onContents(byte[] data, java.lang.String encoding)
          Method call by the Inbound Connection to deliver a file record
 

Method Detail

onContents

void onContents(byte[] data,
                java.lang.String encoding)
                throws com.stc.connector.framework.eway.FaultException,
                       com.stc.connector.framework.eway.InboundException
Method call by the Inbound Connection to deliver a file record

Parameters:
data - File data as byte array read from the file for processing.
encoding -
Throws:
com.stc.connector.framework.eway.FaultException - Thrown if the dispatch results in a handler fault
com.stc.connector.framework.eway.InboundException - Thrown if the inbound MDB failed to handle the message

Sun Adapter for File API

Copyright © 2008 Sun Microsystems, Inc. All Rights Reserved.