Skip to content

Package io.github.qishr.cascara.common.service

Class ServiceProviderFactory

java.lang.Object
        io.github.qishr.cascara.common.service.AbstractServiceProviderFactory
                io.github.qishr.cascara.common.service.ServiceProviderFactory


@io.github.qishr.cascara.common.annotation.Beta
public class ServiceProviderFactory
extends AbstractServiceProviderFactory

Constructor Summary

Constructor Description
ServiceProviderFactory()
ServiceProviderFactory(ServiceProviderLayer layer)

Method Summary

Modifier and Type Method Description
public SourceBuffer createSourceBuffer(SourceBufferOptions options)
public AstParser createParser(String contentType)
public TypeDescriptor<?> createTypeDescriptor(Class<?> jvmType)
public ContentTypeResolver createContentTypeResolver()

Methods inherited from AbstractServiceProviderFactory

createServiceProvider, createServiceProvider

Method Details

createSourceBuffer

public SourceBuffer createSourceBuffer(SourceBufferOptions options)

Throws:

ServiceException


createParser

public AstParser createParser(String contentType)

Throws:

ServiceException


createTypeDescriptor

public TypeDescriptor<?> createTypeDescriptor(Class<?> jvmType)

Throws:

ServiceException


createContentTypeResolver

public ContentTypeResolver createContentTypeResolver()

Throws:

ServiceException