org.embl.ebi.escience.scuflui.facets
Class FacetFinderRegistry
java.lang.Object
org.embl.ebi.escience.utils.TavernaSPIRegistry<FacetFinderSPI>
org.embl.ebi.escience.scuflui.facets.FacetFinderRegistry
public class FacetFinderRegistry
- extends TavernaSPIRegistry<FacetFinderSPI>
A registry that maintains a list of all facet finder service providers.
The FacetFinderRegistry should be accessed through the
instance obtained by calling FacetFinderRegistry.instance().
This instance is initialised with the SPI implementations available through
the current class path.
- Author:
- Matthew Pocock, Stuart Owen
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
instance
public static FacetFinderRegistry instance()
getFinders
public java.util.List getFinders(DataThing dataThing)
- Get all facet finders that can decompose a user object and mime type. If
there are no facet finders, then this list is empty.
- Parameters:
dataThing - the object to render
- Returns:
- a (possibly empty) List of FacetFinderSPI instances