org.apache.felix.ipojo.manipulator.metadata
Class EmptyMetadataProvider

java.lang.Object
  extended by org.apache.felix.ipojo.manipulator.metadata.EmptyMetadataProvider
All Implemented Interfaces:
MetadataProvider

public class EmptyMetadataProvider
extends java.lang.Object
implements MetadataProvider

A EmptyMetadataProvider simply returns an empty list of Element.

Author:
Felix Project Team

Constructor Summary
EmptyMetadataProvider()
           
 
Method Summary
 java.util.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
 

Constructor Detail

EmptyMetadataProvider

public EmptyMetadataProvider()
Method Detail

getMetadatas

public java.util.List<org.apache.felix.ipojo.metadata.Element> getMetadatas()
                                                                     throws java.io.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:
java.io.IOException - if something wet wrong during gathering.


Copyright © 2006-2013 The Apache Software Foundation. All Rights Reserved.