Package edm.edom3
Class EDMLocal
- java.lang.Object
-
- edm.edom3.EDMInterface
-
- edm.edom3.EDMLocal
-
public final class EDMLocal extends EDMInterface
Supplies interface functions for the "single user" / "Fat client" LOCAL interface- Version:
- 3.0
- Author:
- Arne Toen - EPM Technology AS.
-
-
Constructor Summary
Constructors Constructor Description EDMLocal()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EDMContext
getActiveContext()
Get the current active contextstatic EDMLocalContext
getContext(java.lang.String name)
Get a context out of the name without activating it.static EDMLogger
getEDMExpressionLog()
Get the expression logger (EDMvirtualMachine logger) for this local contextstatic edm.edom3.context.CLocalSessionManager
getUserSessionManager()
Retrieve user session manager (if you run multiple local sessions)static void
logoutAll(java.lang.String password)
Log out all active contexts-
Methods inherited from class edm.edom3.EDMInterface
createLocalContext, createRemoteContext, getEDMTrace, getLibrary, initDotNet, initMultiThread, initSingleUser, isDotNet, loadLibraries, removeLibrary, setLibrary, setRuntimeLicense
-
-
-
-
Method Detail
-
getUserSessionManager
public static edm.edom3.context.CLocalSessionManager getUserSessionManager() throws EdmiException
Retrieve user session manager (if you run multiple local sessions)- Returns:
- The user session manager object
- Throws:
EdmiException
- if the method fails
-
getActiveContext
public static EDMContext getActiveContext() throws EdmiException
Get the current active context- Returns:
- current active context, null if no active
- Throws:
EdmiException
- if the method fails
-
getContext
public static EDMLocalContext getContext(java.lang.String name) throws EdmiException
Get a context out of the name without activating it.- Parameters:
name
- context name- Returns:
- found context, null if none available with the given name.
- Throws:
EdmiException
- if the method fails
-
logoutAll
public static void logoutAll(java.lang.String password) throws java.lang.Exception
Log out all active contexts- Parameters:
password
- admin password- Throws:
java.lang.Exception
- if the method fails
-
getEDMExpressionLog
public static EDMLogger getEDMExpressionLog() throws EdmiException
Get the expression logger (EDMvirtualMachine logger) for this local context- Returns:
- expression log object
- Throws:
EdmiException
- if the method fails
-
-