@Configuration @ComponentScan @EnableTransactionManagement public class RestConfiguration extends Object
| Constructor and Description |
|---|
RestConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
DataSource |
dataSource(org.springframework.boot.autoconfigure.jdbc.DataSourceProperties properties) |
org.springframework.boot.autoconfigure.jdbc.DataSourceProperties |
dataSourceProperties() |
pro.taskana.ClassificationService |
getClassificationService(pro.taskana.TaskanaEngine taskanaEngine) |
pro.taskana.TaskanaEngine |
getTaskanaEngine(pro.taskana.configuration.TaskanaEngineConfiguration taskanaEngineConfiguration) |
pro.taskana.TaskMonitorService |
getTaskMonitorService(pro.taskana.TaskanaEngine taskanaEngine) |
pro.taskana.TaskService |
getTaskService(pro.taskana.TaskanaEngine taskanaEngine) |
pro.taskana.WorkbasketService |
getWorkbasketService(pro.taskana.TaskanaEngine taskanaEngine) |
com.fasterxml.jackson.databind.cfg.HandlerInstantiator |
handlerInstantiator(org.springframework.context.ApplicationContext context) |
org.springframework.http.converter.json.Jackson2ObjectMapperBuilder |
jacksonBuilder(com.fasterxml.jackson.databind.cfg.HandlerInstantiator handlerInstantiator) |
pro.taskana.configuration.TaskanaEngineConfiguration |
taskanaEngineConfiguration(DataSource dataSource) |
org.springframework.transaction.PlatformTransactionManager |
txManager(DataSource dataSource) |
@Bean @Primary @ConfigurationProperties(prefix="datasource") public org.springframework.boot.autoconfigure.jdbc.DataSourceProperties dataSourceProperties()
@Bean @Primary public DataSource dataSource(org.springframework.boot.autoconfigure.jdbc.DataSourceProperties properties)
@Bean public pro.taskana.ClassificationService getClassificationService(pro.taskana.TaskanaEngine taskanaEngine)
@Bean public pro.taskana.TaskService getTaskService(pro.taskana.TaskanaEngine taskanaEngine)
@Bean public pro.taskana.TaskMonitorService getTaskMonitorService(pro.taskana.TaskanaEngine taskanaEngine)
@Bean public pro.taskana.WorkbasketService getWorkbasketService(pro.taskana.TaskanaEngine taskanaEngine)
@Bean @Scope(value="singleton") public pro.taskana.TaskanaEngine getTaskanaEngine(pro.taskana.configuration.TaskanaEngineConfiguration taskanaEngineConfiguration)
@Bean @Scope(value="singleton") public pro.taskana.configuration.TaskanaEngineConfiguration taskanaEngineConfiguration(DataSource dataSource) throws SQLException
SQLException@Bean public org.springframework.http.converter.json.Jackson2ObjectMapperBuilder jacksonBuilder(com.fasterxml.jackson.databind.cfg.HandlerInstantiator handlerInstantiator)
@Bean public com.fasterxml.jackson.databind.cfg.HandlerInstantiator handlerInstantiator(org.springframework.context.ApplicationContext context)
@Bean public org.springframework.transaction.PlatformTransactionManager txManager(DataSource dataSource)
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.