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 TypeMethodDescriptionvoid
initializeRecursive
(Logger logger) Initialize this bean and any suitable child beans.void
As there's no parameters we expose a different method.final void
Called after initialization.Methods inherited from class org.anchoranalysis.bean.initializable.InitializableBean
getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized
Methods 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:InitializableBean
Called after initialization. An empty implementation is provided, to be overridden as needed in the sub-classes.- Overrides:
onInitialization
in 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.
-