Class MybatisPlusJoinAutoConfiguration.MPJSpringContext
java.lang.Object
com.github.yulichang.autoconfigure.MybatisPlusJoinAutoConfiguration.MPJSpringContext
- All Implemented Interfaces:
com.github.yulichang.toolkit.SpringContentUtils.SpringContext,org.springframework.beans.factory.Aware,org.springframework.beans.factory.config.BeanFactoryPostProcessor,org.springframework.context.ApplicationContextAware
- Enclosing class:
- MybatisPlusJoinAutoConfiguration
@Configuration
@ConditionalOnClass({org.apache.ibatis.session.SqlSessionFactory.class,org.mybatis.spring.SqlSessionFactoryBean.class})
public static class MybatisPlusJoinAutoConfiguration.MPJSpringContext
extends Object
implements com.github.yulichang.toolkit.SpringContentUtils.SpringContext, org.springframework.beans.factory.config.BeanFactoryPostProcessor, org.springframework.context.ApplicationContextAware
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> T<T> voidgetBeansOfType(Class<T> clazz) voidpostProcessBeanFactory(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory) voidsetApplicationContext(org.springframework.context.ApplicationContext applicationContext)
-
Constructor Details
-
MPJSpringContext
public MPJSpringContext()
-
-
Method Details
-
getBean
- Specified by:
getBeanin interfacecom.github.yulichang.toolkit.SpringContentUtils.SpringContext
-
getBeansOfType
- Specified by:
getBeansOfTypein interfacecom.github.yulichang.toolkit.SpringContentUtils.SpringContext
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException - Specified by:
setApplicationContextin interfaceorg.springframework.context.ApplicationContextAware- Throws:
org.springframework.beans.BeansException
-
postProcessBeanFactory
public void postProcessBeanFactory(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory) throws org.springframework.beans.BeansException - Specified by:
postProcessBeanFactoryin interfaceorg.springframework.beans.factory.config.BeanFactoryPostProcessor- Throws:
org.springframework.beans.BeansException
-