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.Throwablepublic void init()
throws ConfigException
ConfigExceptionpublic MessageEndpoint createEndpoint(XAResource xaResource, long timeout) throws UnavailableException
createEndpoint in interface MessageEndpointFactoryUnavailableExceptionpublic MessageEndpoint createEndpoint(XAResource xaResource) throws UnavailableException
createEndpoint in interface MessageEndpointFactoryUnavailableExceptionpublic boolean isDeliveryTransacted(java.lang.reflect.Method method)
isDeliveryTransacted in interface MessageEndpointFactory