//package cn.sagacloud.server.algorithm.backstage.register
//
//import com.persagy.revit.backstage.sync.SyncFloor
//import org.springframework.beans.factory.support.BeanDefinitionRegistry
//import org.springframework.beans.factory.support.GenericBeanDefinition
//import org.springframework.context.annotation.ImportBeanDefinitionRegistrar
//import org.springframework.core.type.AnnotationMetadata
//
///**
// *
// *
// * @author jxing
// */
//class MyImportBeanDefinitionRegistrar : ImportBeanDefinitionRegistrar {
//    protected var BEAN_NAME = "myservice"
//
//    override fun registerBeanDefinitions(importingClassMetadata: AnnotationMetadata, registry: BeanDefinitionRegistry) {
//        if (!registry.containsBeanDefinition(BEAN_NAME)) {
//            var beanDefinition = GenericBeanDefinition()
//            beanDefinition.beanClass = SyncFloor::class.java
//            beanDefinition.scope = "prototype"
//            beanDefinition.isSynthetic = true
//            registry.registerBeanDefinition(BEAN_NAME, beanDefinition)
//        }
//    }
//}