public class CacheableMetadataProvider extends java.lang.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 |
---|---|
java.util.List<org.apache.felix.ipojo.metadata.Element> |
getMetadatas()
Gather all the metadata.
|
public CacheableMetadataProvider(MetadataProvider delegate)
public java.util.List<org.apache.felix.ipojo.metadata.Element> getMetadatas() throws java.io.IOException
MetadataProvider
getMetadatas
in interface MetadataProvider
java.io.IOException
- if something wet wrong during gathering.Copyright © 2006-2014 The Apache Software Foundation. All Rights Reserved.