org.jencks
Class EndpointFactorySupport
java.lang.Object
org.jencks.EndpointFactorySupport
- All Implemented Interfaces:
- MessageEndpointFactory
- Direct Known Subclasses:
- DefaultEndpointFactory, SingletonEndpointFactory
public abstract class EndpointFactorySupport
- extends Object
- implements MessageEndpointFactory
- Version:
- $Revision: 1.5 $
transactionManager
protected TransactionManager transactionManager
EndpointFactorySupport
public EndpointFactorySupport()
createEndpoint
public MessageEndpoint createEndpoint(XAResource xaResource)
throws UnavailableException
- Specified by:
createEndpoint
in interface MessageEndpointFactory
- Throws:
UnavailableException
toString
public String toString()
- Overrides:
toString
in class Object
isDeliveryTransacted
public boolean isDeliveryTransacted(Method method)
throws NoSuchMethodException
- Specified by:
isDeliveryTransacted
in interface MessageEndpointFactory
- Throws:
NoSuchMethodException
getTransactionManager
public TransactionManager getTransactionManager()
setTransactionManager
public void setTransactionManager(TransactionManager transactionManager)
getName
public String getName()
setName
public void setName(String name)
createMessageListener
protected abstract MessageListener createMessageListener()
throws UnavailableException
- Throws:
UnavailableException
wrapXAResource
protected XAResource wrapXAResource(XAResource xaResource)
XAResource
instances must be named to support recovery, so either pass
NamedXAResource
instances through or wrap with the Spring name.
- Parameters:
xaResource
-
- Returns:
- the wrapped XAResource instance
Copyright © 2005 LogicBlaze, Inc.. All Rights Reserved.