public class SessionPreloadDomino extends java.lang.Object implements SessionPreload
Initializes the JNA/JNX system and keeps a sessionContainer around during the runtime of the application. Prevents the C-API shutting down and requiring a new initialization on an arbitrary request or 💣
| Constructor and Description |
|---|
SessionPreloadDomino() |
| Modifier and Type | Method and Description |
|---|---|
protected io.vertx.core.Future<java.lang.Void> |
checkOrCreateNsf(io.vertx.core.Vertx vertx,
com.hcl.domino.DominoClient dominoClient,
java.lang.String resourceName,
java.lang.String filePath,
boolean openWithFixup) |
io.vertx.core.Future<java.lang.Void> |
init(io.vertx.core.Vertx vertx) |
static java.lang.String[] |
prepareDominoProcessInitArgs()
Routine to check for the init args: - NotesProgram Dir - Notes ini file Checks various env parameters for that - NOTESBIN - NOTESDATA - NOTESROOT - DOMINO_DATA_PATH - LOTUS - DYLD_LIBRARY_PATH - NOTES_INI
|
io.vertx.core.Future<java.lang.Void> |
reloadConfig(io.vertx.core.Vertx vertx) |
void |
terminate()
Shut down KEEP
|
public static java.lang.String[] prepareDominoProcessInitArgs()
Routine to check for the init args: - NotesProgram Dir - Notes ini file Checks various env parameters for that - NOTESBIN - NOTESDATA - NOTESROOT - DOMINO_DATA_PATH - LOTUS - DYLD_LIBRARY_PATH - NOTES_INI
public io.vertx.core.Future<java.lang.Void> init(io.vertx.core.Vertx vertx)
init in interface SessionPreloadvertx - Vertx instancepublic io.vertx.core.Future<java.lang.Void> reloadConfig(io.vertx.core.Vertx vertx)
reloadConfig in interface SessionPreloadvertx - Vertx instancepublic void terminate()
Shut down KEEP
terminate in interface SessionPreloadprotected io.vertx.core.Future<java.lang.Void> checkOrCreateNsf(io.vertx.core.Vertx vertx,
com.hcl.domino.DominoClient dominoClient,
java.lang.String resourceName,
java.lang.String filePath,
boolean openWithFixup)
vertx - Vertx clientdominoClient - with which to access NSFfilePath - of NSFresourceName - of DXL fileopenWithFixup -