站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 j2ee API Documentation 英文版文档

MessageEndpoint (JBoss J2EE API) - JBoss 4.0.1 sp1 j2ee API Documentation 英文版文档


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



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