public class JpaOutboundGatewayFactoryBean extends org.springframework.beans.factory.config.AbstractFactoryBean<JpaOutboundGateway>
JpaOutboundGatewayFactoryBean
creates instances of the
JpaOutboundGateway
. Optionally this FactoryBean
will add Aop
Advices (e.g. TransactionInterceptor
to the JpaOutboundGateway
instance.Constructor and Description |
---|
JpaOutboundGatewayFactoryBean() |
Modifier and Type | Method and Description |
---|---|
protected JpaOutboundGateway |
createInstance() |
java.lang.Class<?> |
getObjectType() |
void |
setAdviceChain(java.util.List<org.aopalliance.aop.Advice> adviceChain) |
void |
setComponentName(java.lang.String componentName)
Sets the name of the handler component.
|
void |
setGatewayType(OutboundGatewayType gatewayType) |
void |
setJpaExecutor(JpaExecutor jpaExecutor) |
void |
setOrder(int order) |
void |
setOutputChannel(org.springframework.messaging.MessageChannel outputChannel) |
void |
setProducesReply(boolean producesReply) |
void |
setReplyTimeout(long replyTimeout)
Specifies the time the gateway will wait to send the result to the reply channel.
|
void |
setRequiresReply(boolean requiresReply) |
public void setJpaExecutor(JpaExecutor jpaExecutor)
public void setGatewayType(OutboundGatewayType gatewayType)
public void setAdviceChain(java.util.List<org.aopalliance.aop.Advice> adviceChain)
public void setProducesReply(boolean producesReply)
public void setOutputChannel(org.springframework.messaging.MessageChannel outputChannel)
public void setOrder(int order)
public void setReplyTimeout(long replyTimeout)
replyTimeout
- The timeout in millisecondspublic void setRequiresReply(boolean requiresReply)
public void setComponentName(java.lang.String componentName)
componentName
- The component name.public java.lang.Class<?> getObjectType()
getObjectType
in interface org.springframework.beans.factory.FactoryBean<JpaOutboundGateway>
getObjectType
in class org.springframework.beans.factory.config.AbstractFactoryBean<JpaOutboundGateway>
protected JpaOutboundGateway createInstance()
createInstance
in class org.springframework.beans.factory.config.AbstractFactoryBean<JpaOutboundGateway>