Save This Page
Home » glassfish-v2ur2-b04-src » javax.resource.spi.endpoint » [javadoc | source]
javax.resource.spi.endpoint
public interface: MessageEndpointFactory [javadoc | source] This serves as a factory for creating message endpoints.
Method from javax.resource.spi.endpoint.MessageEndpointFactory Summary:
createEndpoint,   isDeliveryTransacted
Method from javax.resource.spi.endpoint.MessageEndpointFactory Detail:
 public MessageEndpoint createEndpoint(XAResource xaResource) throws UnavailableException
    This is used to create a message endpoint. The message endpoint is expected to implement the correct message listener type.
 public boolean isDeliveryTransacted(Method method) throws NoSuchMethodException
    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. The message endpoint may indicate its transacted delivery preferences (at a per method level) through its deployment descriptor. The message delivery preferences must not change during the lifetime of a message endpoint.