public class SpringBeanObjectFactory
extends java.lang.Object
implements org.apache.ibatis.reflection.factory.ObjectFactory, org.springframework.context.ApplicationContextAware
| Constructor and Description |
|---|
SpringBeanObjectFactory() |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
create(java.lang.Class<T> type) |
<T> T |
create(java.lang.Class<T> type,
java.util.List<java.lang.Class<?>> constructorArgTypes,
java.util.List<java.lang.Object> constructorArgs) |
<T> boolean |
isCollection(java.lang.Class<T> type) |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
void |
setProperties(java.util.Properties properties) |
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
setApplicationContext in interface org.springframework.context.ApplicationContextAwareorg.springframework.beans.BeansExceptionpublic <T> T create(java.lang.Class<T> type)
create in interface org.apache.ibatis.reflection.factory.ObjectFactorypublic <T> T create(java.lang.Class<T> type,
java.util.List<java.lang.Class<?>> constructorArgTypes,
java.util.List<java.lang.Object> constructorArgs)
create in interface org.apache.ibatis.reflection.factory.ObjectFactorypublic <T> boolean isCollection(java.lang.Class<T> type)
isCollection in interface org.apache.ibatis.reflection.factory.ObjectFactorypublic void setProperties(java.util.Properties properties)
setProperties in interface org.apache.ibatis.reflection.factory.ObjectFactory