commonj.connector.runtime
Interface InboundListener

All Superinterfaces:
MessageListener

public interface InboundListener
extends MessageListener

Listener interface that provides for inbound notifications and EIS-initiated request/response entry points.

The requirement for the resource adapter provider is to either support the InboundListener interface or to provide a data binding implementation that understands InboundNativeDataRecord, that is RecordHolderDataBinding.

Since:
1.0
See Also:
RecordHolderDataBinding, InboundNativeDataRecord

Method Summary
 void onNotification(Record eventRecord)
          Method invoked by the resource adapter to deliver one way inbound notification to the endpoint.
 
Methods inherited from interface javax.resource.cci.MessageListener
onMessage
 

Method Detail

onNotification

void onNotification(Record eventRecord)
                    throws ResourceException
Method invoked by the resource adapter to deliver one way inbound notification to the endpoint.

Parameters:
eventRecord - Inbound event data, may be null.
Throws:
ResourceException - if an error occured during execution