Class ReferencingFeatureListProvider<T extends FeatureInput>

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 Details

    • ReferencingFeatureListProvider

      public ReferencingFeatureListProvider()
  • Method Details

    • onInitialization

      public void onInitialization(FeatureRelatedInitialization soFeature) throws InitializeException
      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 class InitializableBean<FeatureListProvider<T extends FeatureInput>,FeatureRelatedInitialization>
      Parameters:
      soFeature - parameters used for initialization.
      Throws:
      InitializeException - if initialization does not successfully complete.
    • getReferences

      public StringSet 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

      public void setReferences(StringSet references)
      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.