Package com.levigo.jadice.web.server
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 Summary
Modifier and TypeMethodDescriptionGets theAnnotationProfileRegistry
implementation which is used to addAnnotationProfile
s to make them available to the jadice web toolkit.Gets theDocumentDataProviderRegistry
implementation which is used to registerDocumentDataProvider
s that define how to load documents.Gets anExecutorService
for asynchronous processing of server operations and document load requests.void
setAnnoImageProviders
(List<AnnotationImageProvider> annoImageProviders) void
setAnnotationService
(com.levigo.jadice.web.server.internal.AnnotationService annotationService) void
setDocumentDataProviderRegistry
(DocumentDataProviderRegistry documentDataProviderRegistry) void
setDocumentService
(com.levigo.jadice.web.server.internal.DocumentService documentService) void
setExecutorService
(ExecutorService executorService) void
setTextService
(com.levigo.jadice.web.server.internal.TextService textService) void
setTileRenderService
(com.levigo.jadice.web.server.internal.TileRenderService tileRenderService)
-
Method Details
-
getDocumentDataProviderRegistry
DocumentDataProviderRegistry getDocumentDataProviderRegistry()Gets theDocumentDataProviderRegistry
implementation which is used to registerDocumentDataProvider
s that define how to load documents.- Returns:
- The registry to setup the
DocumentDataProvider
s forSources
.
-
getAnnotationProfileRegistry
AnnotationProfileRegistry getAnnotationProfileRegistry()Gets theAnnotationProfileRegistry
implementation which is used to addAnnotationProfile
s to make them available to the jadice web toolkit.- Returns:
- The registry to setup the
AnnotationProfiles
.
-
getExecutorService
ExecutorService getExecutorService()Gets anExecutorService
for asynchronous processing of server operations and document load requests.- Returns:
- the ExecutorService
-
setDocumentDataProviderRegistry
-
setExecutorService
-
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
-