javax.resource.spi.endpoint
Interface MessageEndpoint


public interface MessageEndpoint

A factory for message end points


Method Summary
 void afterDelivery()
          Invoked after delivery
 void beforeDelivery(Method method)
          Invoked before delivery
 void release()
          Release the endpoint
 

Method Detail

beforeDelivery

void beforeDelivery(Method method)
                    throws NoSuchMethodException,
                           ResourceException
Invoked before delivery

Parameters:
method - the method on the endpoint
Throws:
NoSuchMethodException - when there is no such method
ResourceException - for a generic error
ApplicationServerInternalException - for an error in the application server
IllegalStateException - when not in the correct state, eg. before and after delivery are not paired
UnavailableException - when the endpoint is unavailable

afterDelivery

void afterDelivery()
                   throws ResourceException
Invoked after delivery

Throws:
ResourceException - for a generic error
ApplicationServerInternalException - for an error in the application server
IllegalStateException - when not in the correct state, eg. before and after delivery are not paired
UnavailableException - when the endpoint is unavailable

release

void release()
Release the endpoint



Copyright © 2002 JBoss Group, LLC. All Rights Reserved.