EDMLocal
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 interfaceVersion:3.0Author:Arne Toen - EPM Technology AS.
Constructor Summary
ConstructorsÂ
Constructor and Description EDMLocal()
Â
Method Summary
All Methods Static Methods Concrete MethodsÂ
Modifier and Type Method and 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 contextsMethods inherited from class edm.edom3.EDMInterface
createLocalContext, createRemoteContext, getEDMTrace, getLibrary, initClient, initDotNet, initMultiThread, initSingleUser, isDotNet, loadLibraries, removeLibrary, setLibrary, setRuntimeLicense
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Constructor Detail
EDMLocal
public EDMLocal()
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 objectThrows:EdmiException - if the method fails
getActiveContext
public static EDMContext getActiveContext() throws EdmiException
Get the current active contextReturns:current active context, null if no activeThrows: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 nameReturns: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 contextsParameters:password - admin passwordThrows:java.lang.Exception - if the method fails
getEDMExpressionLog
public static EDMLogger getEDMExpressionLog() throws EdmiException
Get the expression logger (EDMvirtualMachine logger) for this local contextReturns:expression log objectThrows:EdmiException - if the method fails