Package | Description |
---|---|
org.springframework.beans |
This package contains interfaces and classes for manipulating Java beans.
|
Modifier and Type | Method and Description |
---|---|
static <T> T |
BeanUtils.instantiate(java.lang.Class<T> clazz)
Convenience method to instantiate a class using its no-arg constructor.
|
static <T> T |
BeanUtils.instantiateClass(java.lang.Class<?> clazz,
java.lang.Class<T> assignableTo)
Instantiate a class using its no-arg constructor and return the new instance
as the the specified assignable type.
|
static <T> T |
BeanUtils.instantiateClass(java.lang.Class<T> clazz)
Instantiate a class using its no-arg constructor.
|
static <T> T |
BeanUtils.instantiateClass(java.lang.reflect.Constructor<T> ctor,
java.lang.Object... args)
Convenience method to instantiate a class using the given constructor.
|
Copyright © 2021. All rights reserved.