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

com.github.jchanghong.autoconfig.db.mybatis.JBeanNameGenerator.kt Maven / Gradle / Ivy

package com.github.jchanghong.autoconfig.db.mybatis

import com.github.jchanghong.log.kInfo
import org.springframework.beans.factory.config.BeanDefinition
import org.springframework.beans.factory.support.BeanDefinitionRegistry
import org.springframework.beans.factory.support.BeanNameGenerator

class JBeanNameGenerator : BeanNameGenerator {
    override fun generateBeanName(definition: BeanDefinition, registry: BeanDefinitionRegistry): String {
        kInfo(definition.beanClassName)
        return definition.beanClassName!!
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy