public interface PagedMediaWriterFactoryMakerService
Provides an interface for a PagedMediaWriterFactoryMaker service. The purpose of this interface is to expose an implementation of a PagedMediaWriterFactoryMaker 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.
| Modifier and Type | Method and Description | 
|---|---|
PagedMediaWriterFactory | 
getFactory(String mediaType)
Gets a PagedMediaWriterFactory that supports the specified media type 
 | 
Collection<String> | 
listMediaTypes()
Returns a list of supported Internet media types. 
 | 
PagedMediaWriter | 
newPagedMediaWriter(String mediaType)
Creates a new PagedMediaWriter. 
 | 
PagedMediaWriterFactory getFactory(String mediaType) throws PagedMediaWriterConfigurationException
mediaType - the target Internet media typePagedMediaWriterConfigurationException - if the media type is not supportedPagedMediaWriter newPagedMediaWriter(String mediaType) throws PagedMediaWriterConfigurationException
mediaType - the target Internet media typePagedMediaWriterConfigurationException - if the media type is not supportedCollection<String> listMediaTypes()