Class ReferencingFeatureListProvider<T extends FeatureInput>
Object
org.anchoranalysis.bean.AnchorBean<B>
org.anchoranalysis.bean.initializable.InitializableBean<T,FeatureRelatedInitialization>
org.anchoranalysis.feature.bean.FeatureRelatedBean<B>
org.anchoranalysis.feature.bean.provider.FeatureProviderBean<FeatureListProvider<T>,FeatureList<T>>
org.anchoranalysis.feature.bean.list.FeatureListProvider<T>
org.anchoranalysis.feature.bean.list.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 Constructor Description ReferencingFeatureListProvider() -
Method Summary
Modifier and Type Method Description StringSetgetReferences()The names of other feature-lists, whose features may be referenced by this feature.voidonInitialization(FeatureRelatedInitialization soFeature)voidsetReferences(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, isInitializedMethods 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
- Overrides:
onInitializationin classInitializableBean<FeatureListProvider<T extends FeatureInput>,FeatureRelatedInitialization>- Throws:
InitializeException
-
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.
-