Class LineBotAutoConfiguration

java.lang.Object
com.linecorp.bot.spring.boot.LineBotAutoConfiguration

@Configuration @AutoConfigureAfter(LineBotWebMvcConfigurer.class) @EnableConfigurationProperties(LineBotProperties.class) @Import(LineMessageHandlerSupport.class) public class LineBotAutoConfiguration extends Object
Also refers LineBotWebMvcBeans for web only beans definition.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.linecorp.bot.client.ChannelManagementSyncClient
    channelManagementClient(com.linecorp.bot.client.ChannelTokenSupplier channelTokenSupplier)
    Expose ChannelManagementSyncClient as Bean.
    com.linecorp.bot.client.ChannelTokenSupplier
    Expose FixedChannelTokenSupplier as Bean in case of no other definition for ChannelTokenSupplier type.
    com.linecorp.bot.client.LineBlobClient
    lineBlobClient(com.linecorp.bot.client.ChannelTokenSupplier channelTokenSupplier)
    Expose LineMessagingClient as Bean.
    com.linecorp.bot.client.LineMessagingClient
    lineMessagingClient(com.linecorp.bot.client.ChannelTokenSupplier channelTokenSupplier)
    Expose LineMessagingClient as Bean.
    com.linecorp.bot.client.ManageAudienceBlobClient
    manageAudienceBlobClient(com.linecorp.bot.client.ChannelTokenSupplier channelTokenSupplier)
    Expose ManageAudienceBlobClient as Bean.
    com.linecorp.bot.client.ManageAudienceClient
    manageAudienceClient(com.linecorp.bot.client.ChannelTokenSupplier channelTokenSupplier)
    Expose ManageAudienceClient as Bean.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • LineBotAutoConfiguration

      public LineBotAutoConfiguration(LineBotProperties lineBotProperties)
  • Method Details

    • channelTokenSupplier

      @Bean @ConditionalOnMissingBean(com.linecorp.bot.client.ChannelTokenSupplier.class) public com.linecorp.bot.client.ChannelTokenSupplier channelTokenSupplier()
      Expose FixedChannelTokenSupplier as Bean in case of no other definition for ChannelTokenSupplier type.
    • lineMessagingClient

      @Bean @ConditionalOnMissingBean public com.linecorp.bot.client.LineMessagingClient lineMessagingClient(com.linecorp.bot.client.ChannelTokenSupplier channelTokenSupplier)
      Expose LineMessagingClient as Bean.
    • lineBlobClient

      @Bean @ConditionalOnMissingBean public com.linecorp.bot.client.LineBlobClient lineBlobClient(com.linecorp.bot.client.ChannelTokenSupplier channelTokenSupplier)
      Expose LineMessagingClient as Bean.
    • channelManagementClient

      @Bean @ConditionalOnMissingBean public com.linecorp.bot.client.ChannelManagementSyncClient channelManagementClient(com.linecorp.bot.client.ChannelTokenSupplier channelTokenSupplier)
      Expose ChannelManagementSyncClient as Bean.
    • manageAudienceBlobClient

      @Bean @ConditionalOnMissingBean public com.linecorp.bot.client.ManageAudienceBlobClient manageAudienceBlobClient(com.linecorp.bot.client.ChannelTokenSupplier channelTokenSupplier)
      Expose ManageAudienceBlobClient as Bean.
    • manageAudienceClient

      @Bean @ConditionalOnMissingBean public com.linecorp.bot.client.ManageAudienceClient manageAudienceClient(com.linecorp.bot.client.ChannelTokenSupplier channelTokenSupplier)
      Expose ManageAudienceClient as Bean.