javax.resource.spi.endpoint
Interface MessageEndpoint

All Known Implementing Classes:
ListenerEndpoint

public interface MessageEndpoint

Implemented by the application server, called by the resource adapter.


Method Summary
 void afterDelivery()
          Called by a resource adapter after a message is delivered.
 void beforeDelivery(java.lang.reflect.Method method)
          Called by a resource adapter before a message is delivered.
 void release()
          Called when the resource adapter doesn't need a proxy endpoint.
 

Method Detail

beforeDelivery

void beforeDelivery(java.lang.reflect.Method method)
                    throws java.lang.NoSuchMethodException,
                           ResourceException
Called by a resource adapter before a message is delivered.

Throws:
java.lang.NoSuchMethodException
ResourceException

afterDelivery

void afterDelivery()
                   throws ResourceException
Called by a resource adapter after a message is delivered.

Throws:
ResourceException

release

void release()
Called when the resource adapter doesn't need a proxy endpoint.