public class ObjectFactory extends Object implements Serializable
| 构造器和说明 |
|---|
ObjectFactory() |
| 限定符和类型 | 方法和说明 |
|---|---|
Object |
buildBean(Class clazz,
Map extraContext)
Build a generic Java object of the given type.
|
Class |
getClassInstance(String className)
Utility method to obtain the class matched to className.
|
static ObjectFactory |
getObjectFactory() |
boolean |
isNoArgConstructorRequired()
Allows for ObjectFactory implementations that support
Actions without no-arg constructors.
|
public static ObjectFactory getObjectFactory()
public boolean isNoArgConstructorRequired()
public Class getClassInstance(String className) throws ClassNotFoundException
className - The fully qualified name of the class to returnClassNotFoundExceptionCopyright © 2023 onecode. All rights reserved.