Class ReferencingFeatureListProvider<T extends FeatureInput>
Object
AnchorBean<FeatureListProvider<T>>
InitializableBean<FeatureListProvider<T>,FeatureRelatedInitialization>
FeatureRelatedBean<FeatureListProvider<T>>
FeatureProviderBean<FeatureListProvider<T>,FeatureList<T>>
FeatureListProvider<T>
ReferencingFeatureListProvider<T>
- Type Parameters:
T
- feature input-type
- All Implemented Interfaces:
Provider<FeatureList<T>>
- Direct Known Subclasses:
Define
,DefinedNamed
,DefineSingle
public abstract class ReferencingFeatureListProvider<T extends FeatureInput>
extends FeatureListProvider<T>
A base class for implementations of
FeatureListProvider
that may reference features
created elsewhere.- Author:
- Owen Feehan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe names of other feature-lists, whose features may be referenced by this feature.void
onInitialization
(FeatureRelatedInitialization soFeature) Called after initialization.void
setReferences
(StringSet references) The names of other feature-lists, whose features may be referenced by this feature.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
-
ReferencingFeatureListProvider
public ReferencingFeatureListProvider()
-
-
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<FeatureListProvider<T extends FeatureInput>,
FeatureRelatedInitialization> - Parameters:
soFeature
- parameters used for initialization.- Throws:
InitializeException
- if initialization does not successfully complete.
-
getReferences
The names of other feature-lists, whose features may be referenced by this feature.This ensures these feature-lists are evaluated, before this features in this list are created.
-
setReferences
The names of other feature-lists, whose features may be referenced by this feature.This ensures these feature-lists are evaluated, before this features in this list are created.
-