-
public interface MetadataBootstrappingGuard<T extends MetadataContainer>Guard that ensures that metadata bootstrapping process (loading and parsing) is triggered only once per metadata file.
-
-
Method Summary
Modifier and Type Method Description abstract TgetOrBootstrap(String phoneMetadataFile)If metadata from the provided file has not yet been read, invokes loading and parsing from theprovided file and adds the result to guarded MetadataContainer. -
-
Method Detail
-
getOrBootstrap
abstract T getOrBootstrap(String phoneMetadataFile)
If metadata from the provided file has not yet been read, invokes loading and parsing from theprovided file and adds the result to guarded MetadataContainer.
- Parameters:
phoneMetadataFile- to read from
-
-
-
-