Package io.dialob.spring.composer
Class ComposerAutoConfiguration
- java.lang.Object
-
- io.dialob.spring.composer.ComposerAutoConfiguration
-
@Configuration @ConditionalOnProperty(name="dialob.enabled", havingValue="true", matchIfMissing=true) @EnableConfigurationProperties({FileConfigBean.class,PgConfigBean.class,UiConfigBean.class}) @Import({FileConfig.class,PgConfig.class}) public class ComposerAutoConfiguration extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceComposerAutoConfiguration.IdeTokenstatic classComposerAutoConfiguration.QuestionnaireSessionEventPublisherstatic interfaceComposerAutoConfiguration.SpringIdeTokenSupplier
-
Constructor Summary
Constructors Constructor Description ComposerAutoConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DialobClientdialobClient(org.springframework.context.ApplicationEventPublisher springAppEventPublisher, org.springframework.core.task.TaskExecutor springTaskExecutor, com.fasterxml.jackson.databind.ObjectMapper objectMapper, Optional<DialobStore> store)DialobComposerServiceControllerdialobComposerServiceController(DialobClient client, com.fasterxml.jackson.databind.ObjectMapper objectMapper, org.springframework.context.ApplicationContext ctx)DialobComposerUiControllerdialobComposerUiController(UiConfigBean composerConfig, Optional<ComposerAutoConfiguration.SpringIdeTokenSupplier> token)DialobStoredialobStore(com.fasterxml.jackson.databind.ObjectMapper objectMapper)DialobComposerUiRedirectControllerdialobUIRedirectController(UiConfigBean composerConfig)StringgetInmemoryPath()org.springframework.boot.autoconfigure.jackson.Jackson2ObjectMapperBuilderCustomizerjsonCustomizer()voidsetInmemoryPath(String inmemoryPath)
-
-
-
Method Detail
-
dialobStore
@Bean @ConditionalOnProperty(name="dialob.formdb.inmemory.enabled", havingValue="true") public DialobStore dialobStore(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
dialobComposerUiController
@ConditionalOnProperty(name="dialob.composer.ui.enabled", havingValue="true") @Bean public DialobComposerUiController dialobComposerUiController(UiConfigBean composerConfig, Optional<ComposerAutoConfiguration.SpringIdeTokenSupplier> token)
-
dialobUIRedirectController
@ConditionalOnProperty(name={"dialob.composer.ui.enabled","dialob.composer.ui.redirect"}, havingValue="true") @Bean public DialobComposerUiRedirectController dialobUIRedirectController(UiConfigBean composerConfig)
-
dialobComposerServiceController
@ConditionalOnProperty(name="dialob.composer.service.enabled", havingValue="true") @Bean public DialobComposerServiceController dialobComposerServiceController(DialobClient client, com.fasterxml.jackson.databind.ObjectMapper objectMapper, org.springframework.context.ApplicationContext ctx)
-
jsonCustomizer
@Bean public org.springframework.boot.autoconfigure.jackson.Jackson2ObjectMapperBuilderCustomizer jsonCustomizer()
-
dialobClient
@Bean public DialobClient dialobClient(org.springframework.context.ApplicationEventPublisher springAppEventPublisher, org.springframework.core.task.TaskExecutor springTaskExecutor, com.fasterxml.jackson.databind.ObjectMapper objectMapper, Optional<DialobStore> store)
-
getInmemoryPath
public String getInmemoryPath()
-
setInmemoryPath
public void setInmemoryPath(String inmemoryPath)
-
-