public interface InitializationParameterAssigner
It is called by BeanInitializer
to assign the parameter to the properties of the bean
or its children.
Modifier and Type | Method and Description |
---|---|
boolean |
accepts(Class<?> initializationType)
Whether a particular type of initialization parameters is accepted?
|
void |
assignInitializationToProperties(Object bean,
Object initialization,
Object parent,
Logger logger)
Assigns the parameter to the bean.
|
String |
describeAcceptedClasses()
A string describing which classes of initialization-parameters are accepted or not.
|
boolean accepts(Class<?> initializationType)
initializationType
- the class of initialization parameters to be checked, whether it is
accepted or not.paramType
is an acceptable type for initialization parameters.void assignInitializationToProperties(Object bean, Object initialization, Object parent, Logger logger) throws InitializeException
bean
- the bean.initialization
- the parameter to assign.parent
- any parent bean of bean
.logger
- the logger.InitializeException
- if the initialization cannot successfully complete.String describeAcceptedClasses()
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.