public final class BeanUtils extends Object
| Constructor and Description |
|---|
BeanUtils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
configure(BeanMetaDataConfig beanConfig,
BeanInfo beanInfo,
org.jboss.modules.Module module,
Object bean,
boolean nullify)
Configure bean.
|
static void |
dispatchLifecycleJoinpoint(BeanInfo beanInfo,
Object bean,
LifecycleConfig config,
String defaultMethod)
Dispatch lifecycle joinpoint.
|
static Object |
instantiateBean(BeanMetaDataConfig beanConfig,
BeanInfo beanInfo,
org.jboss.as.server.deployment.reflect.DeploymentReflectionIndex index,
org.jboss.modules.Module module)
Instantiate bean.
|
public static Object instantiateBean(BeanMetaDataConfig beanConfig, BeanInfo beanInfo, org.jboss.as.server.deployment.reflect.DeploymentReflectionIndex index, org.jboss.modules.Module module) throws Throwable
beanConfig - the bean metadata config, must not be nullbeanInfo - the bean info, can be null if enough infoindex - the reflection index, must not be nullmodule - the current CL module, must not be nullThrowable - for any errorpublic static void configure(BeanMetaDataConfig beanConfig, BeanInfo beanInfo, org.jboss.modules.Module module, Object bean, boolean nullify) throws Throwable
beanConfig - the bean metadata config, must not be nullbeanInfo - the bean info, can be null if enough infomodule - the current CL module, must not be nullbean - the bean instancenullify - do we nullify propertyThrowable - for any errorpublic static void dispatchLifecycleJoinpoint(BeanInfo beanInfo, Object bean, LifecycleConfig config, String defaultMethod) throws Throwable
beanInfo - the bean infobean - the bean instanceconfig - the lifecycle configdefaultMethod - the default methodThrowable - for any errorCopyright © 2021 JBoss by Red Hat. All rights reserved.