Package org.daisy.dotify.api.embosser
Interface EmbosserCatalogService
-
- All Known Implementing Classes:
EmbosserCatalog
public interface EmbosserCatalogService
Provides an interface for an EmbosserCatalog service. The purpose of this interface is to expose an implementation of an EmbosserCatalog as an OSGi service.
To comply with this interface, an implementation must be thread safe and address both the possibility that only a single instance is created and used throughout and that new instances are created as desired.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Collection<EmbosserFactoryProperties>
listEmbossers()
Lists embossers.Collection<EmbosserFactoryProperties>
listEmbossers(EmbosserFilter filter)
Lists embossers matching the specified filter.Embosser
newEmbosser(String identifier)
Creates a new embosser with the specified identifier.
-
-
-
Method Detail
-
newEmbosser
Embosser newEmbosser(String identifier)
Creates a new embosser with the specified identifier.- Parameters:
identifier
- the identifier- Returns:
- returns a new embosser, or null if not found
-
listEmbossers
Collection<EmbosserFactoryProperties> listEmbossers()
Lists embossers.- Returns:
- returns a list of embossers
-
listEmbossers
Collection<EmbosserFactoryProperties> listEmbossers(EmbosserFilter filter)
Lists embossers matching the specified filter.- Parameters:
filter
- the filter- Returns:
- returns a list of embossers
-
-