Package com.juliaaano.payload.provider
Interface ProviderFactory
-
- All Known Subinterfaces:
JsonProviderFactory
,XmlProviderFactory
- All Known Implementing Classes:
Gson
,JacksonJson
,JacksonXml
,Jaxb
,JsonB
public interface ProviderFactory
A ProviderFactory creates new instances ofProvider
.It has been designed to be the main extension point for clients who wish to support additional providers. Implementations of ProviderFactory are listed in META-INF/services files, following
ServiceLoader
specification.- Author:
- JM
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Optional<Provider>
newInstance()
Creates a new instance ofProvider
.
-