Package org.anchoranalysis.bean
Class NullParametersBean<T>
Object
AnchorBean<T>
InitializableBean<T,NullInitialization>
NullParametersBean<T>
- Type Parameters:
T- bean family-type
- Direct Known Subclasses:
CalculateLevel,ColorProvider,MarkWithIdentifierFactory,NamedBean,PointsProposer,ScalarProposer,StackProviderWithLabel,Thresholder
A base class for beans that require initialization but the initializations needs no parameters.
- Author:
- Owen Feehan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidinitializeRecursive(Logger logger) Initialize this bean and any suitable child beans.voidAs there's no parameters we expose a different method.final voidCalled after initialization.Methods inherited from class org.anchoranalysis.bean.initializable.InitializableBean
getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitializedMethods inherited from class org.anchoranalysis.bean.AnchorBean
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
-
Constructor Details
-
NullParametersBean
protected NullParametersBean()Default constructor.
-
-
Method Details
-
onInitialization
Description copied from class:InitializableBeanCalled after initialization. An empty implementation is provided, to be overridden as needed in the sub-classes.- Overrides:
onInitializationin classInitializableBean<T,NullInitialization> - Parameters:
so- parameters used for initialization.- Throws:
InitializeException- if initialization does not successfully complete.
-
onInitialization
As there's no parameters we expose a different method.- Throws:
InitializeException- if initialization does not successfully complete.
-
initializeRecursive
Initialize this bean and any suitable child beans.- Parameters:
logger- the logger- Throws:
InitializeException- if initialization cannot complete successfully.
-