All Downloads are FREE. Search and download functionalities are using the official Maven repository.

love.forte.simbot.component.lovelycat.configuration.LovelyCatMsgSenderConfiguration.kt Maven / Gradle / Ivy

/*
 *
 *  * Copyright (c) 2020. ForteScarlet All rights reserved.
 *  * Project  simple-robot-S
 *  * File     LovelyCatMsgSenderConfiguration.kt
 *  *
 *  * You can contact the author through the following channels:
 *  * github https://github.com/ForteScarlet
 *  * gitee  https://gitee.com/ForteScarlet
 *  * email  [email protected]
 *  * QQ     1149159218
 *  *
 *  *
 *
 */

package love.forte.simbot.component.lovelycat.configuration

import love.forte.common.ioc.annotation.Beans
import love.forte.common.ioc.annotation.ConfigBeans
import love.forte.simbot.component.lovelycat.LovelyCatApiManager
import love.forte.simbot.component.lovelycat.sender.LovelyCatGetterFactory
import love.forte.simbot.component.lovelycat.sender.LovelyCatSenderFactory
import love.forte.simbot.component.lovelycat.sender.LovelyCatSetterFactory


@ConfigBeans("lovelyCatMsgSenderConfiguration")
public class LovelyCatMsgSenderConfiguration {

    @Beans("lovelyCatSenderFactory")
    public fun lovelyCatSenderFactory(apiManager: LovelyCatApiManager): LovelyCatSenderFactory {
        return LovelyCatSenderFactory(apiManager)
    }

    @Beans("lovelyCatGetterFactory")
    public fun lovelyCatGetterFactory(apiManager: LovelyCatApiManager): LovelyCatGetterFactory {
        return LovelyCatGetterFactory(apiManager)
    }

    @Beans("lovelyCatSetterFactory")
    public fun lovelyCatSetterFactory(apiManager: LovelyCatApiManager): LovelyCatSetterFactory {
        return LovelyCatSetterFactory(apiManager)
    }


}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy