public class CacheableMetadataProvider extends Object implements MetadataProvider
CacheableMetadataProvider
provides simple caching methods to avoid
calling MetadataProvider.getMetadatas()
twice.
TODO Do we really need this ? ATM it is not used ...Constructor and Description |
---|
CacheableMetadataProvider(MetadataProvider delegate) |
Modifier and Type | Method and Description |
---|---|
List<org.apache.felix.ipojo.metadata.Element> |
getMetadatas()
Gather all the metadata.
|
public CacheableMetadataProvider(MetadataProvider delegate)
public List<org.apache.felix.ipojo.metadata.Element> getMetadatas() throws IOException
MetadataProvider
getMetadatas
in interface MetadataProvider
IOException
- if something wet wrong during gathering.Copyright © 2006–2023 The Apache Software Foundation. All rights reserved.