Class Reference
- All Implemented Interfaces:
Provider<MarkCollection>
Provides a
MarkCollection by referencing it from the initialization context using an ID.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionget()Gets or creates an object of typeT.getId()The ID of theMarkCollectionto retrieve from the initialization context.voidThe ID of theMarkCollectionto retrieve from the initialization context.Methods inherited from class org.anchoranalysis.mpp.bean.MarksBean
initializerForMarksBeansMethods inherited from class org.anchoranalysis.bean.initializable.InitializableBean
getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized, onInitializationMethods inherited from class org.anchoranalysis.bean.AnchorBean
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
-
Constructor Details
-
Reference
public Reference() -
Reference
Creates a newReferenceinstance.- Parameters:
id- The ID of theMarkCollectionto retrieve from the initialization context.
-
-
Method Details
-
get
Description copied from interface:ProviderGets or creates an object of typeT.- Returns:
- the object returned by the provider.
- Throws:
ProvisionFailedException- if the object cannot be returned.
-
getId
The ID of theMarkCollectionto retrieve from the initialization context. -
setId
The ID of theMarkCollectionto retrieve from the initialization context.
-