Interface WebtoolkitServerContext


public interface WebtoolkitServerContext
Allows direct access to the core registries like DocumentDataProviderRegistry and AnnotationProfileRegistry. Additionally, it allows you to configure/change the cache being used by the JWT and backing components.
  • Method Details

    • getDocumentDataProviderRegistry

      DocumentDataProviderRegistry getDocumentDataProviderRegistry()
      Gets the DocumentDataProviderRegistry implementation which is used to register DocumentDataProviders that define how to load documents.
      Returns:
      The registry to setup the DocumentDataProviders for Sources.
    • getAnnotationProfileRegistry

      AnnotationProfileRegistry getAnnotationProfileRegistry()
      Gets the AnnotationProfileRegistry implementation which is used to add AnnotationProfiles to make them available to the jadice web toolkit.
      Returns:
      The registry to setup the AnnotationProfiles.
    • getExecutorService

      ExecutorService getExecutorService()
      Gets an ExecutorService for asynchronous processing of server operations and document load requests.
      Returns:
      the ExecutorService
    • setDocumentDataProviderRegistry

      void setDocumentDataProviderRegistry(DocumentDataProviderRegistry documentDataProviderRegistry)
    • setExecutorService

      void setExecutorService(ExecutorService executorService)
    • setAnnotationService

      void setAnnotationService(com.levigo.jadice.web.server.internal.AnnotationService annotationService)
    • setDocumentService

      void setDocumentService(com.levigo.jadice.web.server.internal.DocumentService documentService)
    • setTextService

      void setTextService(com.levigo.jadice.web.server.internal.TextService textService)
    • setTileRenderService

      void setTileRenderService(com.levigo.jadice.web.server.internal.TileRenderService tileRenderService)
    • setAnnoImageProviders

      void setAnnoImageProviders(List<AnnotationImageProvider> annoImageProviders)