Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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

    public 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

    public 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

    public void release()

  Release the endpoint

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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