org.apache.felix.ipojo.manipulator.metadata
Class CacheableMetadataProvider
java.lang.Object
org.apache.felix.ipojo.manipulator.metadata.CacheableMetadataProvider
- All Implemented Interfaces:
- MetadataProvider
public class CacheableMetadataProvider
- extends Object
- implements MetadataProvider
A CacheableMetadataProvider provides simple caching methods to avoid
calling MetadataProvider.getMetadatas() twice.
TODO Do we really need this ? ATM it is not used ...
- Author:
- Felix Project Team
|
Method Summary |
List<org.apache.felix.ipojo.metadata.Element> |
getMetadatas()
Gather all the metadata. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CacheableMetadataProvider
public CacheableMetadataProvider(MetadataProvider delegate)
getMetadatas
public List<org.apache.felix.ipojo.metadata.Element> getMetadatas()
throws IOException
- Description copied from interface:
MetadataProvider
- Gather all the metadata.
- Specified by:
getMetadatas in interface MetadataProvider
- Returns:
- a list of iPOJO metadata (never return null)
- Throws:
IOException - if something wet wrong during gathering.
Copyright © 2006-2012 Apache Software Foundation. All Rights Reserved.