Class FacetFinderRegistry

  extended by org.embl.ebi.escience.utils.TavernaSPIRegistry<FacetFinderSPI>
      extended by 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.

Matthew Pocock, Stuart Owen

Method Summary
 java.util.List getFinders(DataThing dataThing)
          Get all facet finders that can decompose a user object and mime type.
static FacetFinderRegistry instance()
Methods inherited from class org.embl.ebi.escience.utils.TavernaSPIRegistry
addRegistryListener, getRepository, setRepository
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Method Detail


public static FacetFinderRegistry instance()


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.

dataThing - the object to render
a (possibly empty) List of FacetFinderSPI instances