| 
Java EE 5 SDK | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface MessageEndpointFactory
This serves as a factory for creating message endpoints.
| Method Summary | |
|---|---|
 MessageEndpoint | 
createEndpoint(XAResource xaResource)
This is used to create a message endpoint.  | 
 boolean | 
isDeliveryTransacted(Method method)
This is used to find out whether message deliveries to a target method on a message listener interface that is implemented by a message endpoint will be transacted or not.  | 
| Method Detail | 
|---|
MessageEndpoint createEndpoint(XAResource xaResource)
                               throws UnavailableException
xaResource - an optional XAResource 
 instance used to get transaction notifications when the message delivery
 is transacted.
UnavailableException - indicates a transient failure
 in creating a message endpoint. Subsequent attempts to create a message
 endpoint might succeed.
boolean isDeliveryTransacted(Method method)
                             throws NoSuchMethodException
method - description of a target method. This information about
 the intended target method allows an application server to find out 
 whether the target method call will be transacted or not.
NoSuchMethodException - indicates that the specified method
 does not exist on the target endpoint.
  | 
Java EE 5 SDK | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.