javax.resource.spi.endpoint
Interface MessageEndpointFactory

All Known Implementing Classes:
ListenerEndpointFactory, MessageManager

public interface MessageEndpointFactory

A factory for creating message endpoints.


Method Summary
 MessageEndpoint createEndpoint(XAResource xaResource)
          Creates an endpoint with the associated XA resource.
 MessageEndpoint createEndpoint(XAResource xaResource, long timeout)
          Creates an endpoint with the associated XA resource.
 boolean isDeliveryTransacted(java.lang.reflect.Method method)
          Returns true to find out whether message deliveries to the message endpoint will be transacted.
 

Method Detail

createEndpoint

MessageEndpoint createEndpoint(XAResource xaResource)
                               throws UnavailableException
Creates an endpoint with the associated XA resource.

Throws:
UnavailableException

createEndpoint

MessageEndpoint createEndpoint(XAResource xaResource,
                               long timeout)
                               throws UnavailableException
Creates an endpoint with the associated XA resource.

Throws:
UnavailableException

isDeliveryTransacted

boolean isDeliveryTransacted(java.lang.reflect.Method method)
                             throws java.lang.NoSuchMethodException
Returns true to find out whether message deliveries to the message endpoint will be transacted. This is only a hint.

Throws:
java.lang.NoSuchMethodException