@Configuration
public class SimpleYarnBatchConfiguration
extends java.lang.Object
Constructor and Description |
---|
SimpleYarnBatchConfiguration() |
Modifier and Type | Method and Description |
---|---|
AppmasterService |
appmasterService() |
DefaultPortExposingTcpSocketSupport |
defaultPortExposingTcpSocketSupport() |
org.springframework.integration.channel.DirectChannel |
directChannel() |
org.springframework.batch.core.explore.JobExplorer |
jobExplorer() |
JobRepositoryService |
jobRepositoryService() |
MindHolderToObjectConverter |
mindHolderToObjectConverter() |
MindObjectToHolderConverter |
mindObjectToHolderConverter() |
MindRpcSerializer |
mindRpcSerializer() |
com.fasterxml.jackson.databind.ObjectMapper |
objectMapper() |
org.springframework.integration.ip.tcp.TcpInboundGateway |
tcpInboundGateway() |
org.springframework.integration.ip.tcp.connection.TcpNetServerConnectionFactory |
tcpNetServerConnectionFactory() |
YarnEventPublisher |
yarnEventPublisher() |
@Bean public YarnEventPublisher yarnEventPublisher()
@Bean public JobRepositoryService jobRepositoryService() throws java.lang.Exception
java.lang.Exception
@Bean public org.springframework.batch.core.explore.JobExplorer jobExplorer() throws java.lang.Exception
java.lang.Exception
@Bean public com.fasterxml.jackson.databind.ObjectMapper objectMapper()
@Bean @IntegrationConverter public MindObjectToHolderConverter mindObjectToHolderConverter()
@Bean @IntegrationConverter public MindHolderToObjectConverter mindHolderToObjectConverter()
@Bean public org.springframework.integration.channel.DirectChannel directChannel()
@Bean public MindRpcSerializer mindRpcSerializer()
@Bean public DefaultPortExposingTcpSocketSupport defaultPortExposingTcpSocketSupport()
@Bean public org.springframework.integration.ip.tcp.connection.TcpNetServerConnectionFactory tcpNetServerConnectionFactory()
@Bean public org.springframework.integration.ip.tcp.TcpInboundGateway tcpInboundGateway()
@Bean(name="yarnAmservice") public AppmasterService appmasterService() throws java.lang.Exception
java.lang.Exception