javax.resource.spi.endpoint
Interface MessageEndpointFactory


public interface MessageEndpointFactory

Version:
$Rev: 806898 $ $Date: 2009-08-23 00:11:25 +0200 (So, 23. Aug 2009) $

Method Summary
 MessageEndpoint createEndpoint(XAResource xaResource)
           
 MessageEndpoint createEndpoint(XAResource xaResource, long timeout)
           
 boolean isDeliveryTransacted(Method method)
           
 

Method Detail

createEndpoint

MessageEndpoint createEndpoint(XAResource xaResource)
                               throws UnavailableException
Throws:
UnavailableException

createEndpoint

MessageEndpoint createEndpoint(XAResource xaResource,
                               long timeout)
                               throws UnavailableException
Parameters:
xaResource - XAResource endpoint can use
timeout - timeout
Returns:
MessageEndpoint
Throws:
UnavailableException - if endpoint cannot be created right now.
Since:
1.6

isDeliveryTransacted

boolean isDeliveryTransacted(Method method)
                             throws NoSuchMethodException
Throws:
NoSuchMethodException


Copyright © 2003-2012 The Apache Software Foundation. All Rights Reserved.