public class ListenerEndpointFactory extends java.lang.Object implements MessageEndpointFactory
Constructor and Description |
---|
ListenerEndpointFactory() |
Modifier and Type | Method and Description |
---|---|
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.
|
void |
init()
Initialization.
|
boolean |
isDeliveryTransacted(java.lang.reflect.Method method)
Returns true to find out whether message deliveries to the
message endpoint will be transacted.
|
void |
setListener(ConfigProgram program) |
public void setListener(ConfigProgram program) throws java.lang.Throwable
java.lang.Throwable
public void init() throws ConfigException
ConfigException
public MessageEndpoint createEndpoint(XAResource xaResource, long timeout) throws UnavailableException
createEndpoint
in interface MessageEndpointFactory
UnavailableException
public MessageEndpoint createEndpoint(XAResource xaResource) throws UnavailableException
createEndpoint
in interface MessageEndpointFactory
UnavailableException
public boolean isDeliveryTransacted(java.lang.reflect.Method method)
isDeliveryTransacted
in interface MessageEndpointFactory