public class ModuleKeepFactory
extends java.lang.Object
implements com.hcl.domino.keep.KeepFactory
KeepFacotry implementation for ModuleTests which test interaction of modules without actual database interaction
Constructor and Description |
---|
ModuleKeepFactory()
Default constructor
|
ModuleKeepFactory(com.hcl.domino.keep.dbrequests.KeepJnxSession session) |
ModuleKeepFactory(io.vertx.core.Vertx vertx) |
Modifier and Type | Method and Description |
---|---|
com.hcl.domino.keep.ConfigLoader |
getConfigLoader(io.vertx.core.Vertx vertx,
io.vertx.core.eventbus.EventBus eventBus,
com.hcl.domino.keep.ConfigLoader.LoaderType loaderType) |
java.util.Optional<com.hcl.domino.keep.dbrequests.DBRequestHandler> |
getDBRequestHandler(io.vertx.core.Vertx vertx,
java.lang.String methodName,
java.lang.String packageName,
io.vertx.core.json.JsonObject config,
io.vertx.core.json.JsonObject handlerResults) |
com.hcl.domino.keep.cache.DesignCache |
getDesignCache() |
com.hcl.domino.DominoProcess |
getDominoProcess() |
java.lang.ThreadLocal<com.hcl.domino.keep.platform.SessionPreload> |
getHeartBeatSession() |
com.hcl.domino.keep.security.JwtManager |
getJwtManager() |
com.hcl.domino.keep.dbrequests.KeepJnxSession |
getKeepJnxSession(com.hcl.domino.keep.security.KeepUser user) |
com.hcl.domino.keep.metrics.KeepStatistics |
getKeepStatistics() |
com.hcl.domino.keep.tools.MimeHelper |
getMimeHelper() |
com.hcl.domino.DominoProcess.DominoThreadContext |
getThreadContext() |
com.hcl.domino.DominoProcess.DominoThreadContext |
getThreadContext(com.hcl.domino.DominoProcess process) |
ModuleKeepFactory |
setJwtManager(com.hcl.domino.keep.security.JwtManager manager)
set/overwrite JWT Manager for testing
|
ModuleKeepFactory |
setMimeHelper(com.hcl.domino.keep.tools.MimeHelper mimeHelper) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
authenticatedDominoClient, getApplicationCache, getAuthLogin, getFormItemTypeCache, getHandlerForIncomingRequest, getJMapperFactory, getKeepConfig, getKeepSAML, getKeepUsers, getLdapAuthentication, getLoggedOutUsers, getNameCache, getRequestCache, getSystemUser, getValidatorFactory, namedDominoClient
public ModuleKeepFactory()
Default constructor
public ModuleKeepFactory(com.hcl.domino.keep.dbrequests.KeepJnxSession session)
session
- public ModuleKeepFactory(io.vertx.core.Vertx vertx)
vertx
- public com.hcl.domino.keep.ConfigLoader getConfigLoader(io.vertx.core.Vertx vertx, io.vertx.core.eventbus.EventBus eventBus, com.hcl.domino.keep.ConfigLoader.LoaderType loaderType)
getConfigLoader
in interface com.hcl.domino.keep.KeepFactory
public java.util.Optional<com.hcl.domino.keep.dbrequests.DBRequestHandler> getDBRequestHandler(@Nonnull io.vertx.core.Vertx vertx, @Nonnull java.lang.String methodName, @Nonnull java.lang.String packageName, @Nonnull io.vertx.core.json.JsonObject config, @Nonnull io.vertx.core.json.JsonObject handlerResults)
getDBRequestHandler
in interface com.hcl.domino.keep.KeepFactory
public com.hcl.domino.keep.cache.DesignCache getDesignCache()
getDesignCache
in interface com.hcl.domino.keep.KeepFactory
public com.hcl.domino.DominoProcess getDominoProcess()
getDominoProcess
in interface com.hcl.domino.keep.KeepFactory
public com.hcl.domino.keep.security.JwtManager getJwtManager()
getJwtManager
in interface com.hcl.domino.keep.KeepFactory
public com.hcl.domino.keep.dbrequests.KeepJnxSession getKeepJnxSession(com.hcl.domino.keep.security.KeepUser user)
getKeepJnxSession
in interface com.hcl.domino.keep.KeepFactory
public com.hcl.domino.keep.metrics.KeepStatistics getKeepStatistics()
getKeepStatistics
in interface com.hcl.domino.keep.KeepFactory
public com.hcl.domino.keep.tools.MimeHelper getMimeHelper()
getMimeHelper
in interface com.hcl.domino.keep.KeepFactory
public com.hcl.domino.DominoProcess.DominoThreadContext getThreadContext()
getThreadContext
in interface com.hcl.domino.keep.KeepFactory
public com.hcl.domino.DominoProcess.DominoThreadContext getThreadContext(com.hcl.domino.DominoProcess process)
getThreadContext
in interface com.hcl.domino.keep.KeepFactory
public ModuleKeepFactory setJwtManager(com.hcl.domino.keep.security.JwtManager manager)
set/overwrite JWT Manager for testing
manager
- public ModuleKeepFactory setMimeHelper(com.hcl.domino.keep.tools.MimeHelper mimeHelper)
mimeHelper
- the mimeHelper to setpublic java.lang.ThreadLocal<com.hcl.domino.keep.platform.SessionPreload> getHeartBeatSession()
getHeartBeatSession
in interface com.hcl.domino.keep.KeepFactory